Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut",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.001137/0.001137, allocations: 108 kB / 15.6 MB, free: 132 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.001172/0.001172, allocations: 191.3 kB / 16.53 MB, free: 6.391 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.253/1.253, allocations: 222.9 MB / 240.2 MB, free: 4.422 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.474/2.474, allocations: 469.8 MB / 0.7424 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003273/0.003273, allocations: 72.75 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2567, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002444/0.2592, allocations: 1.5 MB / 1.066 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.2603, allocations: 0.7302 MB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.2603, allocations: 4 kB / 1.066 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.972e-05/0.2603, allocations: 3.938 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.2604, allocations: 11.81 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.2608, allocations: 127.6 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.389e-05/0.2609, allocations: 67.83 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.569e-05/0.261, allocations: 15.98 kB / 1.066 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.305e-05/0.2611, allocations: 35.86 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.2612, allocations: 43.81 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.2612, allocations: 8 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.2614, allocations: 91.91 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.2614, allocations: 19.92 kB / 1.067 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.935e-05/0.2615, allocations: 27.86 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.2616, allocations: 143.8 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2617, allocations: 0 / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2617, allocations: 0 / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.2617, allocations: 0 / 1.067 GB, free: 11.36 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.0005658/0.2622, allocations: 425 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.2623, allocations: 12.02 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.037e-05/0.2623, allocations: 30.75 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.2624, allocations: 8.844 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.2625, allocations: 176.2 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.2625, allocations: 8.375 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.2625, allocations: 8.359 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.2627, allocations: 69.72 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2627, allocations: 4 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.2627, allocations: 4 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-06/0.2627, allocations: 4 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.2629, allocations: 35.97 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.2634, allocations: 312.8 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.2635, allocations: 50.5 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.046e-05/0.2636, allocations: 36.91 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.2637, allocations: 12.05 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.2638, allocations: 71.38 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.2638, allocations: 7.938 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003504/0.2642, allocations: 137.8 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2642, allocations: 55.39 kB / 1.068 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/0.2643, allocations: 121.8 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.2644, allocations: 29.7 kB / 1.068 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.2644, allocations: 96.03 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.2644, allocations: 23.73 kB / 1.068 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.2645, allocations: 29.7 kB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2646, allocations: 318.8 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.808e-05/0.2647, allocations: 35.97 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.499e-05/0.2648, allocations: 42.56 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.265, allocations: 82.55 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.265, allocations: 0 / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002182/0.2652, allocations: 109.6 kB / 1.069 GB, free: 8.793 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.2652, allocations: 8 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.2652, allocations: 0 / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.507e-06/0.2652, allocations: 0 / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.123e-05/0.2653, allocations: 11.98 kB / 1.069 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2653, allocations: 4 kB / 1.069 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.882e-05/0.2654, allocations: 11.97 kB / 1.069 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2654, allocations: 0 / 1.069 GB, free: 8.758 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.223e-05/0.2655, allocations: 134.8 kB / 1.069 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.2655, allocations: 7.891 kB / 1.069 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.2655, allocations: 8.375 kB / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2656, allocations: 0 / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2656, allocations: 0 / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2656, allocations: 0 / 1.069 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.266, allocations: 386.4 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.266, allocations: 0 / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.574e-05/0.2661, allocations: 4 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2661, allocations: 0 / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.2661, allocations: 7.984 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.2661, allocations: 7.875 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2661, allocations: 0 / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.2664, allocations: 211.4 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.2664, allocations: 85 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.2664, allocations: 0 / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.552e-05/0.2665, allocations: 7.938 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.2666, allocations: 7.984 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.2666, allocations: 4 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.5e-05/0.2666, allocations: 95.27 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2666, allocations: 0 / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002501/0.2669, allocations: 43.94 kB / 1.07 GB, free: 7.668 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.0007333/0.2676, allocations: 0.8112 MB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002127/0.2679, allocations: 71.89 kB / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.2679, allocations: 0 / 1.071 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.725e-05/0.268, allocations: 35.92 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000215/0.2682, allocations: 11.94 kB / 1.071 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.2697, allocations: 1.48 MB / 1.072 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.2699, allocations: 0.6983 MB / 1.073 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.31e-05/0.27, allocations: 7.938 kB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.27, allocations: 23.42 kB / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.27, allocations: 0 / 1.073 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.619/1.889, allocations: 2.6 MB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/13.36, allocations: 7.938 kB / 1.076 GB, free: 1.914 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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