Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast",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.001226/0.001227, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.771/2.771, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 63.56 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.277, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002794/0.2798, allocations: 1.493 MB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2811, allocations: 0.7379 MB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.2812, allocations: 3.938 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.733e-05/0.2812, allocations: 3.938 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-05/0.2813, allocations: 15.84 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.2818, allocations: 119.6 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.282, allocations: 79.83 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8e-05/0.282, allocations: 4 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.799e-05/0.2821, allocations: 39.89 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.2822, allocations: 39.84 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.2822, allocations: 7.938 kB / 1.067 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.2825, allocations: 95.91 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.2825, allocations: 11.92 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.2825, allocations: 39.84 kB / 1.067 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.2828, allocations: 139.9 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2828, allocations: 0 / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2828, allocations: 3.938 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.2828, allocations: 0 / 1.067 GB, free: 11.35 MB / 0.8262 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.0006083/0.2834, allocations: 417 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.2835, allocations: 8.031 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.84e-05/0.2835, allocations: 38.75 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.662e-05/0.2836, allocations: 8.844 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.2837, allocations: 176.2 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.2837, allocations: 4.375 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.2837, allocations: 8.375 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.2839, allocations: 69.78 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.2839, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-06/0.284, allocations: 0 / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.284, allocations: 3.984 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001363/0.2841, allocations: 47.84 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.2847, allocations: 320.8 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.2848, allocations: 42.56 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.728e-05/0.2849, allocations: 40.95 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.2849, allocations: 8 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001935/0.2851, allocations: 79.3 kB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.2852, allocations: 4 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003756/0.2855, allocations: 133.5 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.2856, allocations: 63.41 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.162e-05/0.2857, allocations: 117.8 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.2857, allocations: 37.69 kB / 1.068 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.709e-05/0.2858, allocations: 92.05 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.2858, allocations: 15.75 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.2859, allocations: 29.7 kB / 1.069 GB, free: 9.395 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.286, allocations: 326.8 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.2861, allocations: 27.92 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.168e-05/0.2862, allocations: 50.56 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.2864, allocations: 70.55 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2864, allocations: 0 / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000236/0.2866, allocations: 105.6 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2866, allocations: 5.156 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2866, allocations: 4 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.2867, allocations: 0 / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.2867, allocations: 23.92 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2868, allocations: 0 / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.2868, allocations: 11.84 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.2868, allocations: 4 kB / 1.069 GB, free: 8.746 MB / 0.8262 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 9.275e-05/0.2869, allocations: 122.6 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.736e-05/0.287, allocations: 7.906 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.289e-05/0.287, allocations: 12.38 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.287, allocations: 0 / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.287, allocations: 0 / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.287, allocations: 4 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.2875, allocations: 386.3 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2875, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.2875, allocations: 7.984 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-06/0.2875, allocations: 0 / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.2876, allocations: 4 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.2876, allocations: 3.938 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2876, allocations: 0 / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.2879, allocations: 215.3 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.2879, allocations: 81.02 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.2879, allocations: 8 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.269e-05/0.288, allocations: 11.94 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.2881, allocations: 7.984 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.2881, allocations: 4 kB / 1.07 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.603e-05/0.2882, allocations: 91.27 kB / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2882, allocations: 0 / 1.07 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002774/0.2884, allocations: 39.98 kB / 1.07 GB, free: 7.66 MB / 0.8262 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.0008311/0.2893, allocations: 0.8052 MB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002241/0.2895, allocations: 71.83 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2895, allocations: 8 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.016e-05/0.2896, allocations: 36.11 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.2899, allocations: 9.328 kB / 1.071 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.2915, allocations: 1.484 MB / 1.072 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.2918, allocations: 0.6942 MB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.187e-05/0.2918, allocations: 4 kB / 1.073 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.2919, allocations: 23.42 kB / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.2919, allocations: 0 / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.031/1.323, allocations: 2.607 MB / 1.076 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.781/11.1, allocations: 11.62 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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