Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen",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.001151/0.001151, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.01165/0.01165, allocations: 170.5 kB / 16.26 MB, free: 6.676 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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.756/2.756, allocations: 462.7 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 12.53 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2422, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001504/0.2437, allocations: 1.232 MB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.2449, allocations: 0.713 MB / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.2449, allocations: 0 / 1.061 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.245, allocations: 3.938 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.689e-05/0.245, allocations: 19.86 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.2455, allocations: 99.77 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.72e-05/0.2456, allocations: 67.83 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.697e-05/0.2457, allocations: 12 kB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.679e-05/0.2458, allocations: 27.91 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.2458, allocations: 39.83 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.2459, allocations: 8 kB / 1.061 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.246, allocations: 87.84 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.2461, allocations: 15.92 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.482e-05/0.2461, allocations: 57.55 kB / 1.061 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.2463, allocations: 135.9 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.2464, allocations: 0 / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2464, allocations: 4 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.2464, allocations: 0 / 1.061 GB, free: 2.379 MB / 0.8106 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.0005109/0.2469, allocations: 409 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2469, allocations: 8.031 kB / 1.062 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.247, allocations: 34.73 kB / 1.062 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.247, allocations: 8.938 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.2471, allocations: 176.2 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.2472, allocations: 8.375 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.2472, allocations: 8.312 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.2474, allocations: 73.77 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2474, allocations: 4 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.2474, allocations: 4 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.2474, allocations: 4 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.2475, allocations: 43.91 kB / 1.062 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.2481, allocations: 324.7 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.2482, allocations: 54.5 kB / 1.062 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.442e-05/0.2483, allocations: 32.97 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.2484, allocations: 4 kB / 1.062 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.2485, allocations: 83.3 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.2485, allocations: 4 kB / 1.062 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003809/0.2489, allocations: 149.6 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.249, allocations: 59.39 kB / 1.063 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.2491, allocations: 117.8 kB / 1.063 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.2491, allocations: 29.7 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/0.2491, allocations: 92.12 kB / 1.063 GB, free: 476 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.2492, allocations: 15.75 kB / 1.063 GB, free: 460 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.2492, allocations: 17.72 kB / 1.063 GB, free: 436 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.2493, allocations: 322.8 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.202e-05/0.2494, allocations: 31.98 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.882e-05/0.2495, allocations: 54.48 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.2497, allocations: 74.56 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2497, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002386/0.2499, allocations: 121.5 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.2499, allocations: 4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.2499, allocations: 64 / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.25, allocations: 8 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.2501, allocations: 15.92 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2501, allocations: 0 / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.968e-05/0.2501, allocations: 11.98 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.2502, allocations: 4 kB / 1.064 GB, free: 15.76 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.56e-05/0.2503, allocations: 121.8 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.384e-05/0.2503, allocations: 7.844 kB / 1.064 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.2503, allocations: 16.38 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2503, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2503, allocations: 0 / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2503, allocations: 7.969 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004283/0.2508, allocations: 390.3 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2508, allocations: 0 / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.862e-05/0.2508, allocations: 8 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2508, allocations: 0 / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.2509, allocations: 3.938 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.2509, allocations: 7.938 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2509, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.2511, allocations: 227.3 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.2512, allocations: 81.02 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.2512, allocations: 0 / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.475e-05/0.2513, allocations: 15.92 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.2514, allocations: 8 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.2514, allocations: 7.984 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.225e-05/0.2514, allocations: 87.28 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2514, allocations: 0 / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002851/0.2517, allocations: 39.98 kB / 1.065 GB, free: 14.65 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.0007049/0.2524, allocations: 0.8145 MB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.2527, allocations: 67.97 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.2527, allocations: 4 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.479e-05/0.2528, allocations: 35.92 kB / 1.065 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.253, allocations: 23.92 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.2545, allocations: 1.516 MB / 1.067 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.2547, allocations: 0.6887 MB / 1.068 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.491e-05/0.2548, allocations: 8 kB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.436e-05/0.2548, allocations: 23.42 kB / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2548, allocations: 0 / 1.068 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.2664, allocations: 2.33 MB / 1.07 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000216/0.2666, allocations: 281.8 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.179, allocations: 4.625 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.fmu > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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