Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.569/2.569, allocations: 443.5 MB / 0.7287 GB, free: 13.21 MB / 0.5919 GB " [Timeout remaining time 177] 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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 67.89 kB / 1.056 GB, free: 5.859 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8713/0.8733, allocations: 160.7 MB / 1.213 GB, free: 3.867 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002998/0.8763, allocations: 1.514 MB / 1.214 GB, free: 2.68 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.8778, allocations: 0.7319 MB / 1.215 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.092e-05/0.8778, allocations: 1.125 kB / 1.215 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.734e-05/0.8779, allocations: 7.922 kB / 1.215 GB, free: 2.105 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.118e-05/0.8779, allocations: 9 kB / 1.215 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.8785, allocations: 122.5 kB / 1.215 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.8787, allocations: 74.19 kB / 1.215 GB, free: 1.969 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.8788, allocations: 19.92 kB / 1.215 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.356e-05/0.8789, allocations: 33.64 kB / 1.215 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.885e-05/0.8789, allocations: 46.97 kB / 1.215 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.879, allocations: 6.75 kB / 1.215 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002122/0.8792, allocations: 100.3 kB / 1.215 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.8792, allocations: 17.77 kB / 1.216 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.8793, allocations: 35.55 kB / 1.216 GB, free: 1.809 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.8795, allocations: 140.3 kB / 1.216 GB, free: 1.719 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.8795, allocations: 0 / 1.216 GB, free: 1.719 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.342e-06/0.8795, allocations: 1.031 kB / 1.216 GB, free: 1.719 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.8795, allocations: 0 / 1.216 GB, free: 1.719 MB / 0.92 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.0007048/0.8802, allocations: 423.4 kB / 1.216 GB, free: 1.281 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.8803, allocations: 14.61 kB / 1.216 GB, free: 1.277 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.8803, allocations: 35.88 kB / 1.216 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.8804, allocations: 8.172 kB / 1.216 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.8805, allocations: 168.7 kB / 1.216 GB, free: 1.031 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.8805, allocations: 6.75 kB / 1.216 GB, free: 1.027 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.8805, allocations: 12.14 kB / 1.216 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.8807, allocations: 72.25 kB / 1.216 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.8807, allocations: 0 / 1.216 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.8808, allocations: 1.125 kB / 1.216 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.8808, allocations: 1.062 kB / 1.216 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.8809, allocations: 35.53 kB / 1.216 GB, free: 0.9453 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006222/0.8815, allocations: 318.1 kB / 1.217 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.8816, allocations: 50.28 kB / 1.217 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/0.8817, allocations: 29.97 kB / 1.217 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.8817, allocations: 1.125 kB / 1.217 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.882, allocations: 77.66 kB / 1.217 GB, free: 496 kB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.552e-06/0.882, allocations: 0 / 1.217 GB, free: 496 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000402/0.8824, allocations: 144.9 kB / 1.217 GB, free: 408 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.8824, allocations: 56.86 kB / 1.217 GB, free: 340 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.926e-05/0.8825, allocations: 117 kB / 1.217 GB, free: 228 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.8825, allocations: 30.8 kB / 1.217 GB, free: 192 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.48e-05/0.8826, allocations: 94.27 kB / 1.217 GB, free: 96 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.8826, allocations: 19.44 kB / 1.217 GB, free: 80 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.8827, allocations: 29.8 kB / 1.217 GB, free: 52 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.8828, allocations: 321 kB / 1.218 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.327e-05/0.8829, allocations: 30.41 kB / 1.218 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.655e-05/0.883, allocations: 45.03 kB / 1.218 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.8832, allocations: 77.11 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8832, allocations: 0 / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002565/0.8834, allocations: 113.3 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.8835, allocations: 5.938 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.8835, allocations: 0 / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.8835, allocations: 5.375 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.525e-05/0.8836, allocations: 12.92 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.8836, allocations: 4.75 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.8836, allocations: 12.94 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.8837, allocations: 2.125 kB / 1.218 GB, free: 15.54 MB / 0.9356 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.000106/0.8838, allocations: 132.5 kB / 1.218 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.8838, allocations: 10.78 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.8838, allocations: 6.656 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.8838, allocations: 5.062 kB / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.8838, allocations: 0 / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.8838, allocations: 0 / 1.218 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.8843, allocations: 392.2 kB / 1.218 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.8843, allocations: 0 / 1.218 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.8843, allocations: 3.562 kB / 1.218 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.8843, allocations: 0 / 1.218 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.8844, allocations: 5.266 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.8844, allocations: 5.188 kB / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8844, allocations: 0 / 1.218 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.8847, allocations: 209.8 kB / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.8847, allocations: 86.77 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.8847, allocations: 1.281 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-05/0.8848, allocations: 6.281 kB / 1.219 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.8849, allocations: 10.77 kB / 1.219 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.8849, allocations: 1.812 kB / 1.219 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.439e-05/0.885, allocations: 101.1 kB / 1.219 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.885, allocations: 1.156 kB / 1.219 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000313/0.8853, allocations: 43.62 kB / 1.219 GB, free: 14.61 MB / 0.9356 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.0008787/0.8861, allocations: 0.8012 MB / 1.22 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002448/0.8864, allocations: 71.98 kB / 1.22 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.8864, allocations: 0 / 1.22 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-05/0.8865, allocations: 30.92 kB / 1.22 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.8868, allocations: 10.59 kB / 1.22 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.8886, allocations: 1.502 MB / 1.221 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.8889, allocations: 0.684 MB / 1.222 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.389e-05/0.889, allocations: 7.172 kB / 1.222 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.889, allocations: 23.5 kB / 1.222 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.889, allocations: 3.938 kB / 1.222 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.9149, allocations: 2.68 MB / 1.225 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/9, allocations: 10.61 kB / 1.225 GB, free: 10.3 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 14.809909730684012]