Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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 10.1.1-maint.10.0.x/package.mo", uses=false) 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.Zhang2012WindowsSouth,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth",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.001424/0.001424, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001646/0.001646, allocations: 189.5 kB / 16.25 MB, free: 6.645 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.339/1.339, allocations: 222.9 MB / 239.9 MB, free: 4.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 0.8689 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7704/0.7716, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002583/0.7742, allocations: 1.566 MB / 1.018 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00108/0.7753, allocations: 0.7246 MB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.989e-05/0.7754, allocations: 0 / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.7754, allocations: 3.984 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.443e-05/0.7755, allocations: 11.86 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.776, allocations: 119.8 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.63e-05/0.7761, allocations: 71.78 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.36e-05/0.7762, allocations: 11.98 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 8.133e-05/0.7763, allocations: 35.91 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.7764, allocations: 39.83 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.7764, allocations: 4 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000167/0.7766, allocations: 99.84 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.7766, allocations: 23.91 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.7767, allocations: 35.91 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.7769, allocations: 133.9 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7769, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7769, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.7769, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 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.000589/0.7775, allocations: 420.9 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.7775, allocations: 8.031 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.495e-05/0.7776, allocations: 42.69 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.698e-05/0.7776, allocations: 12.84 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.7777, allocations: 168.3 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.7778, allocations: 384 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.7778, allocations: 8.359 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.778, allocations: 81.7 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.778, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.778, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.778, allocations: 0 / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.7781, allocations: 39.97 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.7787, allocations: 320.7 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.7788, allocations: 42.56 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.932e-05/0.7789, allocations: 36.97 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.7789, allocations: 3.938 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.7791, allocations: 83.31 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.7791, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003612/0.7795, allocations: 141.6 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.7795, allocations: 55.41 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.307e-05/0.7796, allocations: 121.8 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.7796, allocations: 29.7 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.7797, allocations: 92.12 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.7797, allocations: 11.81 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.7798, allocations: 29.7 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.246e-05/0.7799, allocations: 322.8 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.938e-05/0.78, allocations: 27.98 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.7801, allocations: 54.88 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.7802, allocations: 70.55 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7802, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002236/0.7804, allocations: 121.5 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.7805, allocations: 5.094 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.7805, allocations: 0 / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7805, allocations: 4 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.7806, allocations: 15.92 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.7806, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.502e-05/0.7807, allocations: 11.84 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.7807, allocations: 8 kB / 1.022 GB, free: 13.26 MB / 0.7794 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 8.488e-05/0.7808, allocations: 122.3 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.7808, allocations: 7.984 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.7808, allocations: 12.31 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.7808, allocations: 4 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.7809, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.7809, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.7813, allocations: 378.3 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.7813, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.7813, allocations: 12 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.7813, allocations: 3.984 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.7814, allocations: 0 / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.7814, allocations: 7.875 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.7814, allocations: 4 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002549/0.7816, allocations: 211.3 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.7817, allocations: 85.09 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.7817, allocations: 4 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.872e-05/0.7818, allocations: 7.938 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.7818, allocations: 11.97 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.7819, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.7819, allocations: 91.27 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7819, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002707/0.7822, allocations: 36 kB / 1.023 GB, free: 12.18 MB / 0.7794 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.0007303/0.7829, allocations: 0.8043 MB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.7832, allocations: 71.95 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7832, allocations: 8.062 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.211e-05/0.7833, allocations: 35.97 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/0.7835, allocations: 16.42 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.7849, allocations: 1.49 MB / 1.025 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.7852, allocations: 0.6885 MB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.613e-05/0.7852, allocations: 4 kB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.731e-05/0.7853, allocations: 27.42 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7853, allocations: 3.938 kB / 1.026 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.056/2.842, allocations: 2.475 MB / 1.028 GB, free: 6.594 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/2.842, allocations: 268.5 kB / 1.029 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/4.68, allocations: 1.719 kB / 1.029 GB, free: 6.258 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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