Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.197/1.197, allocations: 222.9 MB / 239.8 MB, free: 4.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.372/2.372, allocations: 461.9 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 69.36 kB / 0.8985 GB, free: 36.87 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2288/0.2299, allocations: 157.4 MB / 1.052 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001971/0.2319, allocations: 1.28 MB / 1.053 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002146/0.2321, allocations: 55.83 kB / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.499e-05/0.2322, allocations: 0 / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.329e-05/0.2322, allocations: 0 / 1.054 GB, free: 6.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.2323, allocations: 15.92 kB / 1.054 GB, free: 6.871 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 9.73e-05/0.2324, allocations: 7.984 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.2325, allocations: 35.91 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.2325, allocations: 4 kB / 1.054 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.393e-05/0.2326, allocations: 11.92 kB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.235e-05/0.2326, allocations: 13.48 kB / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.2326, allocations: 0 / 1.054 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.126e-05/0.2327, allocations: 4 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.2328, allocations: 48.44 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.2328, allocations: 43.69 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.694e-05/0.2329, allocations: 75.86 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2329, allocations: 4 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2329, allocations: 0 / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.277e-06/0.2329, allocations: 0 / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003645/0.2333, allocations: 418.9 kB / 1.054 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2334, allocations: 11.97 kB / 1.054 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.2334, allocations: 110 kB / 1.054 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.2335, allocations: 92.12 kB / 1.054 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.2336, allocations: 270.5 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.061e-05/0.2337, allocations: 158.5 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.699e-05/0.2337, allocations: 150.6 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.498e-05/0.2338, allocations: 101 kB / 1.055 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.2338, allocations: 75.28 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.875e-05/0.2339, allocations: 158.6 kB / 1.055 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-05/0.2339, allocations: 150.6 kB / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.338e-05/0.234, allocations: 162.5 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002774/0.2342, allocations: 497.7 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.596e-05/0.2343, allocations: 177 kB / 1.056 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.534e-05/0.2343, allocations: 84.14 kB / 1.056 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.2344, allocations: 75.28 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.2344, allocations: 105.8 kB / 1.056 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.2344, allocations: 0 / 1.056 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 6.803e-05/0.2345, allocations: 41.45 kB / 1.056 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.2346, allocations: 130.7 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.2347, allocations: 231 kB / 1.057 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.2348, allocations: 25.7 kB / 1.057 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.2348, allocations: 108.1 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-06/0.2348, allocations: 0 / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.2349, allocations: 41.69 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.235, allocations: 326.8 kB / 1.057 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.106e-05/0.2351, allocations: 55.95 kB / 1.057 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.959e-05/0.2351, allocations: 63.97 kB / 1.057 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.2353, allocations: 135.4 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2353, allocations: 0 / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000249/0.2356, allocations: 181.2 kB / 1.058 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.2356, allocations: 8 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2356, allocations: 0 / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.804e-06/0.2356, allocations: 0 / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.2356, allocations: 0 / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.2356, allocations: 0 / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.2357, allocations: 23.62 kB / 1.058 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.2357, allocations: 12.05 kB / 1.058 GB, free: 2.289 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.534e-05/0.2358, allocations: 197.1 kB / 1.058 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.549e-05/0.2358, allocations: 116.8 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.2359, allocations: 117.5 kB / 1.058 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.387e-05/0.2359, allocations: 176.3 kB / 1.058 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.017e-05/0.236, allocations: 184.2 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.386e-05/0.2361, allocations: 188.2 kB / 1.059 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.2363, allocations: 433.2 kB / 1.059 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.519e-05/0.2363, allocations: 104.9 kB / 1.059 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.789e-05/0.2364, allocations: 101 kB / 1.059 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.658e-05/0.2364, allocations: 192.2 kB / 1.059 GB, free: 404 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.2365, allocations: 184.3 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.501e-05/0.2365, allocations: 176.3 kB / 1.06 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.357e-05/0.2366, allocations: 180.2 kB / 1.06 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.2367, allocations: 319.8 kB / 1.06 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.917e-05/0.2368, allocations: 193.9 kB / 1.06 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.13e-05/0.2369, allocations: 184.3 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.077e-05/0.2369, allocations: 104.9 kB / 1.061 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.237, allocations: 184.2 kB / 1.061 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.237, allocations: 116.9 kB / 1.061 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001121/0.2372, allocations: 160.6 kB / 1.061 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2372, allocations: 0 / 1.061 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002311/0.2374, allocations: 20 kB / 1.061 GB, free: 14.51 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003358/0.2377, allocations: 0.8203 MB / 1.062 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000124/0.2379, allocations: 79.89 kB / 1.062 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2379, allocations: 0 / 1.062 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.2379, allocations: 4.062 kB / 1.062 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.2382, allocations: 0.5224 MB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.24, allocations: 2.139 MB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.2402, allocations: 0.7121 MB / 1.065 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.763e-05/0.2403, allocations: 7.984 kB / 1.065 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.2403, allocations: 31.42 kB / 1.065 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.2403, allocations: 4.031 kB / 1.065 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2761/0.5164, allocations: 2.607 MB / 1.068 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/0.5167, allocations: 216.3 kB / 1.068 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.171, allocations: 0.5 kB / 1.068 GB, free: 7.34 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches