Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001333, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001537/0.001538, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.458/1.458, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.501/2.501, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8222/0.8234, allocations: 140.4 MB / 0.9491 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.002798/0.8263, allocations: 1.56 MB / 0.9506 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.8275, allocations: 0.718 MB / 0.9513 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.933e-05/0.8275, allocations: 7.938 kB / 0.9513 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.968e-05/0.8276, allocations: 3.984 kB / 0.9513 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.76e-05/0.8276, allocations: 9.328 kB / 0.9513 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.8282, allocations: 102.4 kB / 0.9514 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.8283, allocations: 84.31 kB / 0.9515 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.8284, allocations: 16.61 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.655e-05/0.8285, allocations: 33.86 kB / 0.9516 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.164e-05/0.8286, allocations: 44.19 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.8286, allocations: 6.188 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001773/0.8288, allocations: 98.16 kB / 0.9517 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.8288, allocations: 14.73 kB / 0.9517 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.8289, allocations: 40.31 kB / 0.9518 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.8291, allocations: 135.1 kB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8291, allocations: 0 / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.873e-06/0.8291, allocations: 1.125 kB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.8291, allocations: 0 / 0.9519 GB, free: 7.031 MB / 0.7169 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.0006145/0.8297, allocations: 428.6 kB / 0.9523 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.8298, allocations: 10 kB / 0.9523 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.8299, allocations: 3.531 kB / 0.9523 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.83, allocations: 168.2 kB / 0.9525 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.83, allocations: 10.72 kB / 0.9525 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.83, allocations: 8.547 kB / 0.9525 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.8303, allocations: 68.5 kB / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.8303, allocations: 0 / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.773e-05/0.8303, allocations: 9.125 kB / 0.9526 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.8303, allocations: 4.953 kB / 0.9526 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.8304, allocations: 32.39 kB / 0.9526 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.831, allocations: 321.4 kB / 0.9529 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.8311, allocations: 57.03 kB / 0.953 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.496e-05/0.8312, allocations: 34.91 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.8312, allocations: 1.688 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000174/0.8314, allocations: 73.91 kB / 0.9531 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.8314, allocations: 0 / 0.9531 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004035/0.8318, allocations: 144.1 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.8319, allocations: 52.53 kB / 0.9532 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.832, allocations: 121.8 kB / 0.9534 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.832, allocations: 31.2 kB / 0.9534 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/0.832, allocations: 86.02 kB / 0.9535 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.342e-05/0.8321, allocations: 23.61 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.8321, allocations: 28.98 kB / 0.9535 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.416e-05/0.8322, allocations: 325.8 kB / 0.9538 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.381e-05/0.8323, allocations: 26.67 kB / 0.9539 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.898e-05/0.8323, allocations: 52.12 kB / 0.9539 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.8325, allocations: 73.55 kB / 0.954 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.8325, allocations: 4 kB / 0.954 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002241/0.8327, allocations: 108.8 kB / 0.9541 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.8328, allocations: 9.609 kB / 0.9541 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.8328, allocations: 1.438 kB / 0.9541 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.8328, allocations: 1.469 kB / 0.9541 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.8329, allocations: 7.344 kB / 0.9541 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.8329, allocations: 2.344 kB / 0.9541 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.564e-05/0.833, allocations: 11.45 kB / 0.9541 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.833, allocations: 7.625 kB / 0.9541 GB, free: 4.887 MB / 0.7169 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.266e-05/0.8331, allocations: 122.4 kB / 0.9542 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.8331, allocations: 10.31 kB / 0.9543 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.8331, allocations: 10.77 kB / 0.9543 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8331, allocations: 0 / 0.9543 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.8331, allocations: 5.25 kB / 0.9543 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.8332, allocations: 0 / 0.9543 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003615/0.8335, allocations: 391.7 kB / 0.9546 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.8335, allocations: 0 / 0.9546 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.8336, allocations: 3.094 kB / 0.9546 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8336, allocations: 1.125 kB / 0.9546 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.8336, allocations: 5.422 kB / 0.9547 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.8336, allocations: 0 / 0.9547 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8336, allocations: 3.938 kB / 0.9547 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.8339, allocations: 209.8 kB / 0.9549 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.435e-05/0.8339, allocations: 87.64 kB / 0.9549 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.8339, allocations: 5.422 kB / 0.9549 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.834, allocations: 2.875 kB / 0.9549 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/0.8341, allocations: 6.469 kB / 0.955 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.8341, allocations: 10.45 kB / 0.955 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.644e-05/0.8341, allocations: 100.1 kB / 0.9551 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8341, allocations: 0 / 0.9551 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002896/0.8344, allocations: 36.34 kB / 0.9551 GB, free: 3.969 MB / 0.7169 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.0003246/0.8347, allocations: 158.2 kB / 0.9552 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.835, allocations: 77.69 kB / 0.9553 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.835, allocations: 0 / 0.9553 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.8351, allocations: 37.02 kB / 0.9554 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.8354, allocations: 14.86 kB / 0.9554 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003916/0.8358, allocations: 190.4 kB / 0.9556 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.8359, allocations: 0.6956 MB / 0.9562 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.828e-05/0.836, allocations: 3.344 kB / 0.9562 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.639e-05/0.836, allocations: 10.66 kB / 0.9562 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.836, allocations: 1.125 kB / 0.9562 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of Templates: time 0.004139/0.8401, allocations: 1.407 MB / 0.9576 GB, free: 2.176 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0