Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.331/1.331, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 179.6 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001035, allocations: 98.33 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003899, allocations: 9.438 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2401, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1757/0.4158, allocations: 134 MB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.4161, allocations: 87.94 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.009677/0.4258, allocations: 3.228 MB / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4259, allocations: 0 / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.4259, allocations: 11.94 kB / 1.034 GB, free: 6.48 MB / 0.6823 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.0005262/0.4264, allocations: 458.3 kB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4265, allocations: 8.031 kB / 1.035 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.279e-05/0.4265, allocations: 4 kB / 1.035 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.4266, allocations: 177.2 kB / 1.035 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.4267, allocations: 8 kB / 1.035 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.4267, allocations: 7.984 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.4269, allocations: 93.58 kB / 1.035 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.4269, allocations: 3.938 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.427, allocations: 0 / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.427, allocations: 0 / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.4271, allocations: 55.95 kB / 1.035 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007269/0.4279, allocations: 352.7 kB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.428, allocations: 62.55 kB / 1.035 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.4281, allocations: 4 kB / 1.035 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.4283, allocations: 95.34 kB / 1.035 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.313e-06/0.4283, allocations: 0 / 1.035 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0005206/0.4288, allocations: 197.7 kB / 1.036 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.4289, allocations: 59.36 kB / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.043e-05/0.429, allocations: 116.9 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.429, allocations: 33.7 kB / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.4291, allocations: 88 kB / 1.036 GB, free: 4.484 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.4291, allocations: 15.81 kB / 1.036 GB, free: 4.469 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.4291, allocations: 4 kB / 1.036 GB, free: 4.465 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4292, allocations: 322.8 kB / 1.036 GB, free: 4.141 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.4293, allocations: 35.97 kB / 1.036 GB, free: 4.105 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.4294, allocations: 65.03 kB / 1.036 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.4296, allocations: 47.92 kB / 1.036 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4296, allocations: 0 / 1.036 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002562/0.4298, allocations: 137.5 kB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.4299, allocations: 4 kB / 1.037 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4299, allocations: 4 kB / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.4299, allocations: 0 / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.43, allocations: 19.92 kB / 1.037 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.43, allocations: 0 / 1.037 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.961e-05/0.4301, allocations: 19.8 kB / 1.037 GB, free: 3.797 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.4301, allocations: 7.938 kB / 1.037 GB, free: 3.789 MB / 0.6823 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 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.055e-05/0.4302, allocations: 125.9 kB / 1.037 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.4302, allocations: 4 kB / 1.037 GB, free: 3.652 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.4303, allocations: 12.38 kB / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.4303, allocations: 0 / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4303, allocations: 0 / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4303, allocations: 3.938 kB / 1.037 GB, free: 3.637 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005896/0.4309, allocations: 434.3 kB / 1.037 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.4309, allocations: 3.938 kB / 1.037 GB, free: 3.152 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/0.431, allocations: 7.984 kB / 1.037 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.431, allocations: 0 / 1.037 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.431, allocations: 4 kB / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.431, allocations: 0 / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.431, allocations: 3.953 kB / 1.037 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003722/0.4314, allocations: 255.7 kB / 1.037 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.4315, allocations: 85.09 kB / 1.037 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.4315, allocations: 0 / 1.037 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.4316, allocations: 4.062 kB / 1.037 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.4316, allocations: 15.98 kB / 1.037 GB, free: 2.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.4317, allocations: 11.95 kB / 1.037 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.227e-05/0.4317, allocations: 91.27 kB / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4317, allocations: 0 / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003112/0.432, allocations: 55.89 kB / 1.038 GB, free: 2.594 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003824/0.4324, allocations: 180.2 kB / 1.038 GB, free: 2.426 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.4327, allocations: 103.9 kB / 1.038 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4327, allocations: 0 / 1.038 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.4329, allocations: 47.92 kB / 1.038 GB, free: 2.277 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.4331, allocations: 17.89 kB / 1.038 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.4335, allocations: 220.9 kB / 1.038 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.4338, allocations: 0.6985 MB / 1.039 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.435e-05/0.4338, allocations: 7.984 kB / 1.039 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.4339, allocations: 11.44 kB / 1.039 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.4339, allocations: 0 / 1.039 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of Templates: time 0.005142/0.439, allocations: 1.774 MB / 1.041 GB, free: 15.5 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.freqHz,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0