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.001619/0.001619, allocations: 107 kB / 15.99 MB, free: 6.352 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.001796/0.001796, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.357/1.357, allocations: 222.9 MB / 240.6 MB, free: 15.37 MB / 206.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.247/2.247, allocations: 390.3 MB / 0.665 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 69.58 kB / 0.8127 GB, free: 33.32 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2316, allocations: 140.4 MB / 0.9498 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen): time 0.003081/0.2347, allocations: 1.558 MB / 0.9513 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001318/0.2361, allocations: 0.7168 MB / 0.952 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.793e-05/0.2362, allocations: 4 kB / 0.952 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.122e-05/0.2362, allocations: 7.922 kB / 0.952 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.428e-05/0.2363, allocations: 3.938 kB / 0.952 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.2369, allocations: 107.8 kB / 0.9521 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.237, allocations: 87.7 kB / 0.9522 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.135e-05/0.2371, allocations: 15.97 kB / 0.9522 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.477e-05/0.2372, allocations: 31.86 kB / 0.9522 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.39e-05/0.2373, allocations: 43.81 kB / 0.9523 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.2373, allocations: 8 kB / 0.9523 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.2375, allocations: 99.84 kB / 0.9524 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.2375, allocations: 11.98 kB / 0.9524 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.608e-05/0.2376, allocations: 31.8 kB / 0.9524 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.2378, allocations: 112 kB / 0.9525 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2378, allocations: 0 / 0.9525 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2378, allocations: 0 / 0.9525 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2378, allocations: 0 / 0.9525 GB, free: 6.336 MB / 0.7325 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.0006312/0.2384, allocations: 416.9 kB / 0.9529 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.2385, allocations: 8.031 kB / 0.9529 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.2385, allocations: 8.844 kB / 0.9529 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.2387, allocations: 168.3 kB / 0.9531 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.955e-05/0.2387, allocations: 12.38 kB / 0.9531 GB, free: 5.645 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.2387, allocations: 8.359 kB / 0.9531 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.2389, allocations: 65.97 kB / 0.9532 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2389, allocations: 0 / 0.9532 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.239, allocations: 4 kB / 0.9532 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-06/0.239, allocations: 7.875 kB / 0.9532 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.2391, allocations: 39.97 kB / 0.9532 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.2397, allocations: 316.7 kB / 0.9535 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.2398, allocations: 50.56 kB / 0.9536 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/0.2399, allocations: 28.97 kB / 0.9536 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.24, allocations: 4 kB / 0.9536 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002186/0.2402, allocations: 83.3 kB / 0.9537 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.2402, allocations: 0 / 0.9537 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0003937/0.2406, allocations: 141.6 kB / 0.9538 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.2407, allocations: 55.39 kB / 0.9539 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.924e-05/0.2408, allocations: 117.8 kB / 0.954 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.2408, allocations: 33.7 kB / 0.954 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.2408, allocations: 92.12 kB / 0.9541 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.287e-05/0.2409, allocations: 15.75 kB / 0.9541 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.2409, allocations: 33.64 kB / 0.9542 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2411, allocations: 318.8 kB / 0.9545 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.225e-05/0.2411, allocations: 31.97 kB / 0.9545 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.402e-05/0.2412, allocations: 46.56 kB / 0.9545 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.2414, allocations: 70.55 kB / 0.9546 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2414, allocations: 0 / 0.9546 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002352/0.2417, allocations: 109.5 kB / 0.9547 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2417, allocations: 11.94 kB / 0.9547 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.2417, allocations: 3.984 kB / 0.9547 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2417, allocations: 12 kB / 0.9547 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.2418, allocations: 15.98 kB / 0.9548 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2419, allocations: 7.938 kB / 0.9548 GB, free: 3.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.2419, allocations: 7.906 kB / 0.9548 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.242, allocations: 0 / 0.9548 GB, free: 3.789 MB / 0.7325 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.657e-05/0.2421, allocations: 123.8 kB / 0.9549 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.705e-05/0.2421, allocations: 3.984 kB / 0.9549 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/0.2421, allocations: 12.38 kB / 0.9549 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2421, allocations: 4 kB / 0.9549 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.2421, allocations: 3.938 kB / 0.9549 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2421, allocations: 0 / 0.9549 GB, free: 3.637 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004646/0.2426, allocations: 386.3 kB / 0.9553 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2426, allocations: 4 kB / 0.9553 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.2427, allocations: 0 / 0.9553 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.2427, allocations: 4 kB / 0.9553 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2427, allocations: 3.984 kB / 0.9553 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.2427, allocations: 4 kB / 0.9553 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.2427, allocations: 3.938 kB / 0.9553 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.243, allocations: 211.4 kB / 0.9555 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.008e-05/0.2431, allocations: 85 kB / 0.9556 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.2431, allocations: 0 / 0.9556 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.397e-05/0.2432, allocations: 4 kB / 0.9556 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.2432, allocations: 15.92 kB / 0.9556 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.2432, allocations: 0 / 0.9556 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.464e-05/0.2433, allocations: 95.27 kB / 0.9557 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2433, allocations: 0 / 0.9557 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003027/0.2436, allocations: 36 kB / 0.9557 GB, free: 2.711 MB / 0.7325 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.0003325/0.244, allocations: 167.1 kB / 0.9559 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.2442, allocations: 79.89 kB / 0.956 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2442, allocations: 0 / 0.956 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.2443, allocations: 35.92 kB / 0.956 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.2446, allocations: 14.23 kB / 0.956 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004137/0.245, allocations: 218.2 kB / 0.9562 GB, free: 2.176 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.2453, allocations: 0.6922 MB / 0.9569 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.381e-05/0.2453, allocations: 11.44 kB / 0.9569 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of SimCode: time 3.8e-07/0.2453, allocations: 0 / 0.9569 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of Templates: time 0.003666/0.249, allocations: 1.624 MB / 0.9585 GB, free: 15.82 MB / 0.7481 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches