Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Zhang2012WindowsNorth,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,fileNamePrefix="Buildings_11_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.001529/0.001529, 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.001782/0.001782, allocations: 196.7 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.587/1.587, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.729/2.729, allocations: 469.8 MB / 0.7424 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001755/0.001755, allocations: 71.22 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2644, allocations: 159.1 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002681/0.2671, allocations: 1.497 MB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.2684, allocations: 0.7341 MB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.2684, allocations: 3.938 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.2685, allocations: 3.938 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.208e-05/0.2685, allocations: 11.86 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.2691, allocations: 127.6 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.2692, allocations: 71.83 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.158e-05/0.2693, allocations: 8 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.735e-05/0.2694, allocations: 39.89 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.464e-05/0.2694, allocations: 35.84 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.2694, allocations: 4 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001907/0.2696, allocations: 99.84 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.2697, allocations: 27.91 kB / 1.067 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.2697, allocations: 23.86 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.27, allocations: 139.9 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.27, allocations: 0 / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.27, allocations: 0 / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.27, allocations: 0 / 1.067 GB, free: 11.32 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.0005843/0.2706, allocations: 424.9 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2706, allocations: 8.031 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.846e-05/0.2707, allocations: 38.75 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.2707, allocations: 8.844 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.2708, allocations: 176.2 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.2709, allocations: 8.359 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.2709, allocations: 4.375 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.271, allocations: 69.78 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.2711, allocations: 0 / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.2711, allocations: 4 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.2711, allocations: 3.938 kB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.2712, allocations: 47.89 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.2718, allocations: 312.7 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.2719, allocations: 46.56 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.712e-05/0.272, allocations: 44.95 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.272, allocations: 0 / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.2722, allocations: 83.3 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2722, allocations: 0 / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003601/0.2726, allocations: 137.6 kB / 1.068 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.2726, allocations: 55.41 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/0.2727, allocations: 125.8 kB / 1.068 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.2728, allocations: 29.7 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.2728, allocations: 92.05 kB / 1.068 GB, free: 9.422 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.2728, allocations: 15.75 kB / 1.068 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.2729, allocations: 25.7 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.273, allocations: 326.8 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.056e-05/0.2731, allocations: 27.98 kB / 1.069 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.45e-05/0.2732, allocations: 54.5 kB / 1.069 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.2734, allocations: 70.55 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2734, allocations: 0 / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002288/0.2736, allocations: 117.6 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.2736, allocations: 4 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.2736, allocations: 0 / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2737, allocations: 4 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.228e-05/0.2738, allocations: 15.92 kB / 1.069 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2738, allocations: 3.938 kB / 1.069 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/0.2738, allocations: 7.906 kB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.2739, allocations: 7.984 kB / 1.069 GB, free: 8.715 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.35e-05/0.2739, allocations: 126.9 kB / 1.069 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.274, allocations: 7.906 kB / 1.069 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.274, allocations: 4.375 kB / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.274, allocations: 0 / 1.069 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.274, allocations: 4 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.274, allocations: 0 / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004295/0.2745, allocations: 386.3 kB / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2745, allocations: 0 / 1.07 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.2745, allocations: 11.98 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.2745, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.2745, allocations: 0 / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.2745, allocations: 3.938 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2745, allocations: 0 / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.2748, allocations: 215.8 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.2749, allocations: 81.02 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.2749, allocations: 8 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.95e-05/0.275, allocations: 7.875 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.275, allocations: 7.984 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.275, allocations: 4 kB / 1.07 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.475e-05/0.2751, allocations: 95.27 kB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2751, allocations: 0 / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002688/0.2754, allocations: 39.98 kB / 1.07 GB, free: 7.633 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.0007687/0.2761, allocations: 0.8048 MB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.2764, allocations: 79.88 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2764, allocations: 4.125 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.187e-05/0.2765, allocations: 31.98 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.2767, allocations: 13.33 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.2782, allocations: 1.479 MB / 1.072 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.2785, allocations: 0.6922 MB / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.954e-05/0.2786, allocations: 4 kB / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.2786, allocations: 27.42 kB / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.2786, allocations: 0 / 1.073 GB, free: 4.363 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9261/1.205, allocations: 2.611 MB / 1.076 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.587/9.792, allocations: 15.36 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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