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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, 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.001888/0.001888, allocations: 191.8 kB / 16.25 MB, free: 6.637 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.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.482/2.482, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.91 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7905/0.7918, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002502/0.7944, allocations: 1.554 MB / 1.018 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.7954, allocations: 0.7363 MB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.7955, allocations: 0 / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.7955, allocations: 3.984 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.639e-05/0.7956, allocations: 7.875 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.796, allocations: 115.8 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.881e-05/0.7961, allocations: 71.78 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.465e-05/0.7962, allocations: 11.98 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 7.589e-05/0.7963, allocations: 35.91 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.54e-05/0.7964, allocations: 39.83 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.7964, allocations: 4 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.7966, allocations: 99.89 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.7966, allocations: 23.86 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.7967, allocations: 35.86 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.7969, allocations: 133.9 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7969, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7969, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.7969, allocations: 0 / 1.02 GB, free: 15.81 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.0005415/0.7974, allocations: 420.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.7975, allocations: 12.03 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.7975, allocations: 38.73 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.7975, allocations: 12.78 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.7977, allocations: 172.4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.7977, allocations: 384 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.7977, allocations: 4.375 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.7979, allocations: 73.78 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.7979, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.7979, allocations: 3.984 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.7979, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.798, allocations: 35.98 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005152/0.7986, allocations: 328.5 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.7987, allocations: 42.56 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.559e-05/0.7988, allocations: 32.97 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.7988, allocations: 11.92 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.799, allocations: 87.25 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.482e-06/0.799, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003497/0.7993, allocations: 137.6 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.7994, allocations: 55.39 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.7995, allocations: 121.8 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.7995, allocations: 29.7 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.7995, allocations: 92.12 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.7995, allocations: 11.81 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.7996, allocations: 29.7 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.534e-05/0.7997, allocations: 322.8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.7998, allocations: 27.97 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-05/0.7999, allocations: 46.56 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.8, allocations: 74.8 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.8, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000215/0.8002, allocations: 121.5 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.8003, allocations: 4.062 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.8003, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.8003, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.8004, allocations: 11.94 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.323e-06/0.8004, allocations: 3.984 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.48e-05/0.8005, allocations: 15.84 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.8005, allocations: 4 kB / 1.022 GB, free: 13.21 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 7.618e-05/0.8006, allocations: 118.3 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.452e-05/0.8006, allocations: 8 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.8006, allocations: 16.36 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.8006, allocations: 7.938 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.8006, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.8006, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.801, allocations: 382.3 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.801, allocations: 0 / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.8011, allocations: 4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.8011, allocations: 4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.8011, allocations: 3.984 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.8011, allocations: 7.938 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8011, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.8014, allocations: 203.5 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.186e-05/0.8014, allocations: 85.02 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.8014, allocations: 3.984 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.029e-05/0.8015, allocations: 11.94 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.8016, allocations: 7.984 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.8016, allocations: 4 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.479e-05/0.8016, allocations: 95.2 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8016, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002693/0.8019, allocations: 36 kB / 1.023 GB, free: 12.12 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.0006646/0.8026, allocations: 0.8057 MB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002123/0.8028, allocations: 76.25 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8028, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.192e-05/0.8029, allocations: 40.2 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.8032, allocations: 14.91 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.8045, allocations: 1.491 MB / 1.025 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.8047, allocations: 0.6885 MB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.482e-05/0.8048, allocations: 4 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.8048, allocations: 19.44 kB / 1.026 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of SimCode: time 1.293e-06/0.8048, allocations: 3.938 kB / 1.026 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.696/3.501, allocations: 2.482 MB / 1.028 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003734/3.501, allocations: 272.2 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/5.357, allocations: 4 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB (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 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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