Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 100.1 kB / 15.88 MB, free: 12 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.001274/0.001274, allocations: 196.2 kB / 16.79 MB, free: 6.809 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.372/1.372, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.398/2.398, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.89 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6279/0.6293, allocations: 140.4 MB / 0.9496 GB, free: 9.332 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002542/0.6319, allocations: 1.555 MB / 0.9511 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.6329, allocations: 0.7285 MB / 0.9518 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.633, allocations: 1.281 kB / 0.9518 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.67e-05/0.633, allocations: 7.922 kB / 0.9518 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.716e-05/0.6331, allocations: 5.25 kB / 0.9518 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.6335, allocations: 112.6 kB / 0.9519 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.108e-05/0.6336, allocations: 74.02 kB / 0.952 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.252e-05/0.6337, allocations: 17.47 kB / 0.952 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.356e-05/0.6338, allocations: 34.98 kB / 0.9521 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.6339, allocations: 34.83 kB / 0.9521 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.6339, allocations: 4.125 kB / 0.9521 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.634, allocations: 89.16 kB / 0.9522 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.6341, allocations: 10.73 kB / 0.9522 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.6341, allocations: 28.11 kB / 0.9522 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.6343, allocations: 112.4 kB / 0.9523 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.6343, allocations: 0 / 0.9523 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.72e-07/0.6343, allocations: 4 kB / 0.9523 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.6343, allocations: 1.5 kB / 0.9523 GB, free: 7.207 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.000527/0.6348, allocations: 419.5 kB / 0.9527 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.6349, allocations: 9.406 kB / 0.9527 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.62e-05/0.6349, allocations: 8.422 kB / 0.9527 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.897e-05/0.635, allocations: 167.6 kB / 0.9529 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.6351, allocations: 6.75 kB / 0.9529 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.757e-05/0.6351, allocations: 4.156 kB / 0.9529 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.6352, allocations: 72.03 kB / 0.953 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.6353, allocations: 1.25 kB / 0.953 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.6353, allocations: 0 / 0.953 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.6353, allocations: 1.406 kB / 0.953 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.6354, allocations: 44.5 kB / 0.953 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.6359, allocations: 321.7 kB / 0.9533 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.6361, allocations: 51.98 kB / 0.9534 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.736e-05/0.6362, allocations: 32.09 kB / 0.9534 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.6362, allocations: 0.8438 kB / 0.9534 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.6364, allocations: 82.16 kB / 0.9535 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.6364, allocations: 3.938 kB / 0.9535 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003702/0.6367, allocations: 140.5 kB / 0.9536 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.391e-05/0.6368, allocations: 52.66 kB / 0.9537 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.833e-05/0.6368, allocations: 121.8 kB / 0.9538 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.6369, allocations: 25.7 kB / 0.9538 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.6369, allocations: 90.8 kB / 0.9539 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.6369, allocations: 14.83 kB / 0.9539 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.207e-05/0.637, allocations: 30 kB / 0.954 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.014e-05/0.637, allocations: 325.5 kB / 0.9543 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.6371, allocations: 26.89 kB / 0.9543 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.252e-05/0.6372, allocations: 51.77 kB / 0.9543 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.6374, allocations: 70.78 kB / 0.9544 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.6374, allocations: 0 / 0.9544 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000218/0.6376, allocations: 112.8 kB / 0.9545 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.6376, allocations: 5.938 kB / 0.9545 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6376, allocations: 0 / 0.9545 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.6377, allocations: 1.688 kB / 0.9545 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.6378, allocations: 19.55 kB / 0.9545 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.6378, allocations: 6.594 kB / 0.9545 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.6378, allocations: 10.8 kB / 0.9546 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.6379, allocations: 3.438 kB / 0.9546 GB, free: 5.074 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 6.381e-05/0.6379, allocations: 118.7 kB / 0.9547 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.638, allocations: 7.219 kB / 0.9547 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.638, allocations: 9.688 kB / 0.9547 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.638, allocations: 1.438 kB / 0.9547 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.638, allocations: 11.92 kB / 0.9547 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.638, allocations: 0 / 0.9547 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.6384, allocations: 388.4 kB / 0.9551 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6384, allocations: 0 / 0.9551 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.6384, allocations: 6.812 kB / 0.9551 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.6384, allocations: 1.406 kB / 0.9551 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.6385, allocations: 1.5 kB / 0.9551 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.6385, allocations: 0 / 0.9551 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6385, allocations: 3.938 kB / 0.9551 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.6387, allocations: 225.3 kB / 0.9553 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.6387, allocations: 83.11 kB / 0.9554 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.6388, allocations: 1.406 kB / 0.9554 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.6389, allocations: 6.859 kB / 0.9554 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.53e-05/0.6389, allocations: 6.562 kB / 0.9554 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.829e-06/0.6389, allocations: 6.234 kB / 0.9554 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.309e-05/0.639, allocations: 96.53 kB / 0.9555 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.639, allocations: 0 / 0.9555 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002851/0.6393, allocations: 41.11 kB / 0.9555 GB, free: 4.152 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.0002934/0.6396, allocations: 156.5 kB / 0.9557 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002346/0.6398, allocations: 77.8 kB / 0.9558 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6398, allocations: 0 / 0.9558 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-05/0.6399, allocations: 32.48 kB / 0.9558 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.6402, allocations: 4.312 kB / 0.9558 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.6405, allocations: 225.4 kB / 0.956 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001179/0.6406, allocations: 0.6916 MB / 0.9567 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.079e-05/0.6407, allocations: 11.81 kB / 0.9567 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.6407, allocations: 0 / 0.9567 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of Templates: time 0.003704/0.6444, allocations: 1.607 MB / 0.9583 GB, free: 2.246 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches