Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_latest_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.001278/0.001278, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.474/2.474, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 68.61 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3722, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002594/0.3748, allocations: 1.499 MB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.376, allocations: 0.7404 MB / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.322e-05/0.3761, allocations: 0 / 1.055 GB, free: 6.016 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.3761, allocations: 3.938 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.283e-05/0.3762, allocations: 19.84 kB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.3767, allocations: 111.6 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.911e-05/0.3768, allocations: 79.77 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.527e-05/0.3769, allocations: 19.94 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.293e-05/0.377, allocations: 39.89 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.394e-05/0.3771, allocations: 35.84 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.3771, allocations: 8 kB / 1.055 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001857/0.3773, allocations: 91.84 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.3773, allocations: 15.92 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.3774, allocations: 39.84 kB / 1.056 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.3776, allocations: 135.9 kB / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3776, allocations: 0 / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3776, allocations: 4 kB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.3776, allocations: 4 kB / 1.056 GB, free: 5.418 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005417/0.3782, allocations: 417 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3782, allocations: 12.62 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.3783, allocations: 30.75 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.3783, allocations: 8.844 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.3784, allocations: 180.2 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.3784, allocations: 4.375 kB / 1.056 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.3785, allocations: 4.375 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.3786, allocations: 73.78 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.872e-06/0.3786, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3787, allocations: 0 / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3787, allocations: 7.938 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.3788, allocations: 35.97 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/0.3793, allocations: 316.8 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.3794, allocations: 54.5 kB / 1.057 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.529e-05/0.3795, allocations: 36.95 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.3795, allocations: 0 / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.3797, allocations: 87.34 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.3797, allocations: 4 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003521/0.3801, allocations: 141.5 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.3801, allocations: 51.48 kB / 1.057 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.775e-05/0.3802, allocations: 121.8 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.3802, allocations: 25.7 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.743e-05/0.3803, allocations: 100 kB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.3803, allocations: 11.84 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.3804, allocations: 33.7 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.3805, allocations: 322.8 kB / 1.058 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.3805, allocations: 27.98 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.286e-05/0.3806, allocations: 46.55 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.3808, allocations: 74.5 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3808, allocations: 0 / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000216/0.381, allocations: 109.5 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.381, allocations: 7.938 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.381, allocations: 4 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.381, allocations: 0 / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.112e-05/0.3811, allocations: 15.98 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.3812, allocations: 8 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.21e-05/0.3812, allocations: 7.906 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.3812, allocations: 7.984 kB / 1.058 GB, free: 2.82 MB / 0.8106 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 7.429e-05/0.3813, allocations: 121.7 kB / 1.058 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.3813, allocations: 7.906 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.3814, allocations: 12.38 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3814, allocations: 0 / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3814, allocations: 0 / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3814, allocations: 4 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003972/0.3818, allocations: 386.3 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3818, allocations: 0 / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.938e-05/0.3818, allocations: 7.984 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3819, allocations: 0 / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3819, allocations: 4 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.3819, allocations: 3.938 kB / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3819, allocations: 0 / 1.058 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002493/0.3821, allocations: 211.4 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.391e-05/0.3822, allocations: 85.11 kB / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.3822, allocations: 0 / 1.059 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.3823, allocations: 7.938 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.3823, allocations: 3.984 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3823, allocations: 7.938 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.3824, allocations: 91.92 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3824, allocations: 4 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002754/0.3827, allocations: 43.89 kB / 1.059 GB, free: 1.738 MB / 0.8106 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.0006738/0.3834, allocations: 0.8112 MB / 1.06 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.3836, allocations: 75.89 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3836, allocations: 0 / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.3837, allocations: 35.92 kB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.3839, allocations: 11.92 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.3853, allocations: 1.473 MB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.3856, allocations: 0.6961 MB / 1.062 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.341e-05/0.3856, allocations: 4 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.3856, allocations: 19.42 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3857, allocations: 7.938 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04411/0.4298, allocations: 2.611 MB / 1.065 GB, free: 12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.117/7.547, allocations: 4 kB / 1.065 GB, free: 12 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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