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.005526/0.005526, allocations: 101.6 kB / 15.73 MB, free: 6.016 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.001163/0.001163, allocations: 193.5 kB / 16.67 MB, free: 5.949 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.807/2.807, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.91 kB / 1.054 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3287, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002866/0.3316, allocations: 1.503 MB / 1.209 GB, free: 8.664 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001425/0.333, allocations: 0.7327 MB / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.3331, allocations: 0 / 1.209 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.252e-05/0.3332, allocations: 3.938 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.04e-05/0.3333, allocations: 15.84 kB / 1.209 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.3339, allocations: 127.6 kB / 1.21 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.3341, allocations: 67.83 kB / 1.21 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3342, allocations: 19.94 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3343, allocations: 31.91 kB / 1.21 GB, free: 7.664 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.01e-05/0.3344, allocations: 35.84 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.3344, allocations: 11.94 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.3346, allocations: 91.91 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.922e-05/0.3347, allocations: 23.91 kB / 1.21 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.816e-05/0.3347, allocations: 35.84 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.335, allocations: 147.8 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.335, allocations: 0 / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.332e-06/0.335, allocations: 0 / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.347e-06/0.335, allocations: 0 / 1.21 GB, free: 7.324 MB / 0.9669 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.0006447/0.3357, allocations: 413 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3357, allocations: 8.625 kB / 1.21 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.3358, allocations: 34.73 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.638e-05/0.3358, allocations: 12.84 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.3359, allocations: 176.2 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.336, allocations: 8.375 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.336, allocations: 4.375 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3362, allocations: 65.78 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3362, allocations: 7.875 kB / 1.211 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.3362, allocations: 8 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3362, allocations: 0 / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.3364, allocations: 39.95 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/0.337, allocations: 316.7 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.3371, allocations: 50.56 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/0.3372, allocations: 32.91 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.3372, allocations: 8 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.3375, allocations: 71.38 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3375, allocations: 0 / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004071/0.3379, allocations: 137.7 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.3379, allocations: 51.41 kB / 1.211 GB, free: 5.711 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.3381, allocations: 125.7 kB / 1.212 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.3381, allocations: 41.64 kB / 1.212 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.3381, allocations: 84.14 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.3382, allocations: 23.73 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.892e-05/0.3382, allocations: 21.72 kB / 1.212 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3384, allocations: 322.8 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/0.3385, allocations: 27.98 kB / 1.212 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.3386, allocations: 58.92 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.3388, allocations: 70.48 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3388, allocations: 3.938 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002454/0.339, allocations: 109.8 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.339, allocations: 9.719 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3391, allocations: 4.062 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/0.3391, allocations: 3.984 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.88e-05/0.3392, allocations: 8 kB / 1.212 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3392, allocations: 4.078 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.3393, allocations: 7.984 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.3393, allocations: 7.984 kB / 1.212 GB, free: 4.738 MB / 0.9669 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 0.0001113/0.3394, allocations: 125.8 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.3394, allocations: 11.84 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.3395, allocations: 8.375 kB / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3395, allocations: 3.984 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3395, allocations: 0 / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3395, allocations: 0 / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.34, allocations: 382.4 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.34, allocations: 7.984 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.34, allocations: 0 / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.3401, allocations: 4 kB / 1.213 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3401, allocations: 4 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.3401, allocations: 11.86 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3401, allocations: 3.938 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.3404, allocations: 211.4 kB / 1.213 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.892e-05/0.3404, allocations: 81.02 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.3405, allocations: 0 / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.169e-05/0.3406, allocations: 11.92 kB / 1.213 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.471e-05/0.3406, allocations: 8 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.3406, allocations: 3.984 kB / 1.213 GB, free: 3.773 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.131e-05/0.3407, allocations: 99.27 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.434e-06/0.3407, allocations: 0 / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000314/0.341, allocations: 39.94 kB / 1.213 GB, free: 3.637 MB / 0.9669 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.000808/0.3419, allocations: 0.7988 MB / 1.214 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000249/0.3421, allocations: 67.91 kB / 1.214 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3421, allocations: 0 / 1.214 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.3422, allocations: 40.09 kB / 1.214 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.3425, allocations: 11.88 kB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.3442, allocations: 1.5 MB / 1.216 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.3445, allocations: 0.6924 MB / 1.216 GB, free: 404 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.815e-05/0.3446, allocations: 4 kB / 1.216 GB, free: 400 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.466e-05/0.3447, allocations: 19.42 kB / 1.216 GB, free: 380 kB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3447, allocations: 0 / 1.216 GB, free: 380 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02202/0.3667, allocations: 2.686 MB / 1.219 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.113, allocations: 3.984 kB / 1.219 GB, free: 13.83 MB / 0.9825 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