Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.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.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn",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.009238/0.009237, allocations: 104.5 kB / 15.74 MB, free: 5.984 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.002401/0.002401, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.544/2.544, allocations: 437 MB / 0.7105 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 67.91 kB / 1.018 GB, free: 9.91 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9205/0.9219, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn): time 0.003637/0.9256, allocations: 1.517 MB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.9273, allocations: 0.7595 MB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.9274, allocations: 0 / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.186e-05/0.9274, allocations: 3.938 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.525e-05/0.9275, allocations: 15.86 kB / 1.168 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00071/0.9283, allocations: 143.5 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.9284, allocations: 99.77 kB / 1.169 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.9286, allocations: 11.98 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.9287, allocations: 51.83 kB / 1.169 GB, free: 1.156 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.076e-05/0.9288, allocations: 51.81 kB / 1.169 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.9288, allocations: 8 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.9291, allocations: 99.91 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.167e-05/0.9291, allocations: 23.91 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.9292, allocations: 47.77 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002853/0.9295, allocations: 165.8 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.9295, allocations: 4 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.393e-06/0.9295, allocations: 0 / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.964e-06/0.9295, allocations: 0 / 1.169 GB, free: 0.7656 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007513/0.9303, allocations: 458.5 kB / 1.169 GB, free: 264 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.9303, allocations: 12.92 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.9304, allocations: 34.75 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.08e-05/0.9304, allocations: 8.844 kB / 1.17 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.9306, allocations: 176.4 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.9306, allocations: 12.38 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.9306, allocations: 4.375 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.9309, allocations: 93.69 kB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.9309, allocations: 0 / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.9309, allocations: 7.938 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.9309, allocations: 0 / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.9312, allocations: 47.95 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007983/0.932, allocations: 352.6 kB / 1.17 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.9322, allocations: 58.55 kB / 1.17 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.9323, allocations: 40.84 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/0.9324, allocations: 4 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003226/0.9327, allocations: 95.34 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 4.528e-06/0.9327, allocations: 96 / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0006254/0.9334, allocations: 193.6 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.9334, allocations: 59.41 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.9336, allocations: 127 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.9337, allocations: 25.7 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.9337, allocations: 96.05 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.824e-05/0.9339, allocations: 23.73 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.966e-05/0.9339, allocations: 29.7 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.9341, allocations: 322.8 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.493e-05/0.9342, allocations: 35.97 kB / 1.171 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.9343, allocations: 60.28 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.9346, allocations: 100.1 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.9346, allocations: 0 / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002992/0.9349, allocations: 133.5 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.9349, allocations: 4 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.9349, allocations: 4 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.935, allocations: 0 / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.9351, allocations: 19.92 kB / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.9351, allocations: 0 / 1.172 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.675e-05/0.9352, allocations: 12.09 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.9352, allocations: 4 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001322/0.9354, allocations: 131.9 kB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.9354, allocations: 7.906 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.688e-05/0.9355, allocations: 12.31 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.9355, allocations: 4 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.9355, allocations: 64 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.9355, allocations: 4 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008047/0.9363, allocations: 434.3 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.9363, allocations: 0 / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.035e-05/0.9364, allocations: 4 kB / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.9364, allocations: 0 / 1.172 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.9364, allocations: 7.922 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.9364, allocations: 4 kB / 1.172 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.9364, allocations: 11.81 kB / 1.172 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004846/0.9369, allocations: 243.4 kB / 1.172 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.937, allocations: 81.02 kB / 1.172 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.937, allocations: 11.98 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.9371, allocations: 4 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.381e-05/0.9372, allocations: 11.92 kB / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.9372, allocations: 0 / 1.173 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.564e-05/0.9373, allocations: 104.6 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9373, allocations: 0 / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003253/0.9376, allocations: 43.98 kB / 1.173 GB, free: 12.69 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009969/0.9386, allocations: 0.8378 MB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003041/0.9389, allocations: 91.91 kB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.939, allocations: 0 / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.9391, allocations: 56.16 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.9394, allocations: 11.84 kB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.9413, allocations: 1.578 MB / 1.175 GB, free: 10 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.9416, allocations: 0.6923 MB / 1.176 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.604e-05/0.9416, allocations: 15.84 kB / 1.176 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.9417, allocations: 19.44 kB / 1.176 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.9417, allocations: 0 / 1.176 GB, free: 9.25 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02067/0.9624, allocations: 3.005 MB / 1.179 GB, free: 6.367 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/8.756, allocations: 15.95 kB / 1.179 GB, free: 6.359 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TIn,win.occ,win.pOpen,win.on Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TIn,win.occ,win.on,win.pClose,win.pOpen,win.samplePeriod,win.seed