Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest",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.001733/0.001733, 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.001868/0.001868, allocations: 195.8 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.683/1.683, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.651/2.651, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 64.59 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2478, allocations: 159.1 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.00242/0.2503, allocations: 1.508 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.2514, allocations: 0.7379 MB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.2514, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.2515, allocations: 3.938 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.417e-05/0.2515, allocations: 7.875 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004283/0.252, allocations: 127.6 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.821e-05/0.2521, allocations: 75.77 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.198e-05/0.2522, allocations: 15.98 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.184e-05/0.2522, allocations: 31.92 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.088e-05/0.2523, allocations: 43.81 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.2523, allocations: 4 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.2525, allocations: 99.84 kB / 1.067 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.2525, allocations: 15.92 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.873e-05/0.2526, allocations: 27.86 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.2528, allocations: 139.9 kB / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.2528, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2528, allocations: 0 / 1.067 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2528, allocations: 4 kB / 1.067 GB, free: 11.38 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.0005503/0.2534, allocations: 417 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.2534, allocations: 8.031 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.2534, allocations: 38.73 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.2535, allocations: 8.844 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.2536, allocations: 176.2 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.2536, allocations: 8.375 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.2536, allocations: 4.375 kB / 1.067 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.2538, allocations: 77.78 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2538, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.2538, allocations: 7.922 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-06/0.2538, allocations: 0 / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.254, allocations: 31.98 kB / 1.068 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005408/0.2545, allocations: 324.7 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.2546, allocations: 42.56 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.039e-05/0.2547, allocations: 36.97 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.2548, allocations: 0 / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.2549, allocations: 75.44 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2549, allocations: 8 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003515/0.2553, allocations: 137.5 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.2553, allocations: 59.39 kB / 1.068 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.2554, allocations: 113.8 kB / 1.068 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.947e-05/0.2555, allocations: 33.7 kB / 1.068 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.2555, allocations: 92.03 kB / 1.068 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.2556, allocations: 19.75 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/0.2556, allocations: 33.64 kB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.2557, allocations: 322.8 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.61e-05/0.2558, allocations: 27.97 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.256, allocations: 46.56 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002134/0.2562, allocations: 82.47 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2562, allocations: 0 / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002492/0.2565, allocations: 109.6 kB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.2565, allocations: 5.406 kB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.2565, allocations: 0 / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.2565, allocations: 4 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.2566, allocations: 15.88 kB / 1.069 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.2566, allocations: 8.438 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.215e-05/0.2567, allocations: 7.906 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.2567, allocations: 4 kB / 1.069 GB, free: 8.781 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 8.92e-05/0.2568, allocations: 122.8 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.2568, allocations: 7.906 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.061e-05/0.2568, allocations: 8.359 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.2568, allocations: 0 / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.2568, allocations: 0 / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2569, allocations: 11.98 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.2573, allocations: 390.3 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2573, allocations: 0 / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.814e-05/0.2574, allocations: 8 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2574, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2574, allocations: 3.984 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2574, allocations: 3.938 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2574, allocations: 0 / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.2577, allocations: 215.4 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.2577, allocations: 81.02 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.2577, allocations: 7.984 kB / 1.07 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-05/0.2578, allocations: 3.938 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.2579, allocations: 7.984 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.2579, allocations: 8 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.33e-05/0.2579, allocations: 95.27 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.258, allocations: 0 / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002561/0.2582, allocations: 36 kB / 1.07 GB, free: 7.691 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.1003/0.3585, allocations: 0.8019 MB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000323/0.3589, allocations: 71.89 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3589, allocations: 4 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.359, allocations: 35.92 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3594, allocations: 11.59 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/0.3612, allocations: 1.482 MB / 1.072 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.3616, allocations: 0.7 MB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.886e-05/0.3616, allocations: 7.984 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.3617, allocations: 15.44 kB / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3617, allocations: 0 / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.079/1.441, allocations: 2.602 MB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.602/10.04, allocations: 11.12 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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