Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.00476/0.00476, allocations: 100 kB / 15.73 MB, free: 6.02 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.001363/0.001363, allocations: 187.7 kB / 16.67 MB, free: 5.934 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.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.294/2.294, allocations: 437.1 MB / 0.7106 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 67.83 kB / 1.018 GB, free: 9.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6231/0.6249, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002256/0.6272, allocations: 1.505 MB / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.6283, allocations: 0.7206 MB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.433e-05/0.6283, allocations: 0 / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.849e-05/0.6283, allocations: 15.88 kB / 1.168 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.218e-05/0.6284, allocations: 7.922 kB / 1.168 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004658/0.6289, allocations: 131.5 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.629, allocations: 71.77 kB / 1.169 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.589e-05/0.6291, allocations: 12 kB / 1.169 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.287e-05/0.6291, allocations: 31.91 kB / 1.169 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.6292, allocations: 43.83 kB / 1.169 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.6292, allocations: 8 kB / 1.169 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001714/0.6294, allocations: 95.84 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.6295, allocations: 19.92 kB / 1.169 GB, free: 1.129 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.547e-05/0.6295, allocations: 31.84 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.6297, allocations: 134.3 kB / 1.169 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6297, allocations: 4 kB / 1.169 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6297, allocations: 3.938 kB / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.6297, allocations: 0 / 1.169 GB, free: 0.9648 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005579/0.6303, allocations: 433.6 kB / 1.169 GB, free: 500 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.6303, allocations: 12.92 kB / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.6304, allocations: 30.75 kB / 1.169 GB, free: 448 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.6304, allocations: 8.891 kB / 1.169 GB, free: 440 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.6305, allocations: 172.3 kB / 1.17 GB, free: 228 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.6306, allocations: 8.375 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.6306, allocations: 8.359 kB / 1.17 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.6307, allocations: 65.78 kB / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.6308, allocations: 0 / 1.17 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.6308, allocations: 8 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.6308, allocations: 7.938 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.6309, allocations: 39.91 kB / 1.17 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.6315, allocations: 320.7 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.6316, allocations: 50.56 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.666e-05/0.6317, allocations: 28.97 kB / 1.17 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.6317, allocations: 4 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.6319, allocations: 75.31 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.6319, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003604/0.6322, allocations: 141.6 kB / 1.17 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.6323, allocations: 59.47 kB / 1.17 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/0.6324, allocations: 117.8 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.6324, allocations: 29.7 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/0.6325, allocations: 96.08 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.6325, allocations: 15.91 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.6326, allocations: 25.7 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.6327, allocations: 322.8 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.112e-05/0.6328, allocations: 31.98 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.659e-05/0.6329, allocations: 46.5 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.633, allocations: 74.84 kB / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.633, allocations: 0 / 1.171 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002214/0.6333, allocations: 117.5 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.6333, allocations: 10.5 kB / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.6333, allocations: 0 / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.6333, allocations: 0 / 1.171 GB, free: 14.4 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.374e-05/0.6334, allocations: 15.92 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.6334, allocations: 7.938 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.6335, allocations: 3.938 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.6335, allocations: 4 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 9.179e-05/0.6336, allocations: 133.8 kB / 1.171 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.52e-05/0.6336, allocations: 3.953 kB / 1.171 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.6336, allocations: 12.31 kB / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.6336, allocations: 0 / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.6336, allocations: 0 / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.6336, allocations: 0 / 1.171 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.6341, allocations: 386.4 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.6341, allocations: 4 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.706e-05/0.6341, allocations: 7.984 kB / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.6341, allocations: 0 / 1.172 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.6341, allocations: 4 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.6342, allocations: 3.938 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.6342, allocations: 0 / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.6344, allocations: 207.4 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.6345, allocations: 89.06 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.6345, allocations: 0 / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.6346, allocations: 7.938 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.6346, allocations: 15.97 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.6346, allocations: 4 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.414e-05/0.6347, allocations: 91.27 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6347, allocations: 0 / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002536/0.635, allocations: 43.88 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000746/0.6357, allocations: 0.814 MB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.6359, allocations: 75.94 kB / 1.173 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.636, allocations: 3.938 kB / 1.173 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 8.834e-05/0.636, allocations: 31.98 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.6363, allocations: 7.938 kB / 1.173 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001469/0.6378, allocations: 1.497 MB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.638, allocations: 0.6846 MB / 1.175 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.6381, allocations: 7.984 kB / 1.175 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.986e-05/0.6381, allocations: 19.44 kB / 1.175 GB, free: 10 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.6381, allocations: 0 / 1.175 GB, free: 10 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.952/7.59, allocations: 2.636 MB / 1.178 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.49/23.08, allocations: 10.31 kB / 1.178 GB, free: 7.492 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,occ.startTime,occ.startValue,occ.y,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed