Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_9_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.005475/0.005475, allocations: 97.12 kB / 15.73 MB, free: 6.004 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.001022/0.001022, allocations: 199.8 kB / 16.68 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 71.88 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9409/0.9424, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.003309/0.9458, allocations: 1.5 MB / 1.089 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.9473, allocations: 0.7248 MB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.468e-05/0.9474, allocations: 0 / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.269e-05/0.9474, allocations: 6.266 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.303e-05/0.9475, allocations: 17.56 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.9482, allocations: 125.3 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.9484, allocations: 77.03 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.9485, allocations: 15.41 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.9486, allocations: 35.69 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.039e-05/0.9487, allocations: 32.7 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.9488, allocations: 6.531 kB / 1.09 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.9491, allocations: 102 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.586e-05/0.9491, allocations: 19.61 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.409e-05/0.9492, allocations: 31.16 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.9496, allocations: 141.8 kB / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.9496, allocations: 0 / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9496, allocations: 0 / 1.09 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.9496, allocations: 0 / 1.09 GB, free: 3.473 MB / 0.8575 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.0006998/0.9503, allocations: 427.2 kB / 1.091 GB, free: 3.047 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.9504, allocations: 13.25 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.406e-05/0.9504, allocations: 33.05 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.9505, allocations: 9.094 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.9506, allocations: 177.3 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.9506, allocations: 7.438 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.9506, allocations: 4.375 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.9508, allocations: 68.03 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.9509, allocations: 1.062 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.9509, allocations: 4.797 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.9509, allocations: 4.938 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.951, allocations: 35.69 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006065/0.9517, allocations: 322.8 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.9518, allocations: 45.8 kB / 1.091 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.778e-05/0.9519, allocations: 35.67 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.9519, allocations: 1.797 kB / 1.091 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.9522, allocations: 73.28 kB / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.9522, allocations: 0 / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004353/0.9526, allocations: 145.6 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.9527, allocations: 57.95 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.9528, allocations: 119 kB / 1.092 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.9528, allocations: 31.11 kB / 1.092 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.9528, allocations: 91.67 kB / 1.092 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.9529, allocations: 16.3 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/0.9529, allocations: 29.22 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.953, allocations: 324.2 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.899e-05/0.9531, allocations: 26.98 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.9532, allocations: 50.09 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.9534, allocations: 72.08 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.9534, allocations: 0.7812 kB / 1.092 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000274/0.9537, allocations: 112.9 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.9537, allocations: 4.938 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.9537, allocations: 5.406 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.9537, allocations: 1.969 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.944e-05/0.9538, allocations: 11.27 kB / 1.092 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.9538, allocations: 5.875 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.443e-05/0.9539, allocations: 12.86 kB / 1.092 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.9539, allocations: 3.906 kB / 1.092 GB, free: 1.441 MB / 0.8575 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.291e-05/0.954, allocations: 127.7 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.9541, allocations: 7.766 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/0.9541, allocations: 6.641 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.9541, allocations: 0.8125 kB / 1.093 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.9541, allocations: 4.781 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.9541, allocations: 0.7969 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.9546, allocations: 386.6 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.9546, allocations: 0.7812 kB / 1.093 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.326e-05/0.9547, allocations: 9.328 kB / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.9547, allocations: 0.6875 kB / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.9547, allocations: 2.516 kB / 1.093 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.9547, allocations: 4.625 kB / 1.093 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9547, allocations: 0.75 kB / 1.093 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.955, allocations: 215.2 kB / 1.093 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.9551, allocations: 83.56 kB / 1.093 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.9551, allocations: 5.969 kB / 1.093 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.9552, allocations: 12.36 kB / 1.093 GB, free: 0.6719 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.9552, allocations: 9.438 kB / 1.093 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.9553, allocations: 2.172 kB / 1.093 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.362e-05/0.9553, allocations: 96.53 kB / 1.093 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9553, allocations: 0 / 1.093 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003505/0.9557, allocations: 42 kB / 1.093 GB, free: 0.5742 MB / 0.8575 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.0009795/0.9567, allocations: 0.7988 MB / 1.094 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002813/0.957, allocations: 76.62 kB / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.957, allocations: 0 / 1.094 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.9571, allocations: 37.55 kB / 1.094 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.9574, allocations: 12.64 kB / 1.094 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.9592, allocations: 1.49 MB / 1.096 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.9595, allocations: 0.6877 MB / 1.096 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.512e-05/0.9596, allocations: 13.08 kB / 1.096 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.9596, allocations: 20.33 kB / 1.097 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of SimCode: time 3.6e-07/0.9596, allocations: 0.5938 kB / 1.097 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02155/0.9812, allocations: 2.665 MB / 1.099 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.904/8.885, allocations: 5.781 kB / 1.099 GB, free: 13.3 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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