Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008967/0.0008967, allocations: 98.8 kB / 16.02 MB, free: 76 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.0008463/0.0008465, allocations: 183.2 kB / 16.92 MB, free: 6.895 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.373/1.373, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.626/2.626, allocations: 443.2 MB / 0.7181 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 16.95 kB / 0.8801 GB, free: 42.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3016, allocations: 155.2 MB / 1.032 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001633/0.3033, allocations: 1.304 MB / 1.033 GB, free: 3.449 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.3045, allocations: 0.7833 MB / 1.034 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.3046, allocations: 3.938 kB / 1.034 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.92e-05/0.3046, allocations: 7.938 kB / 1.034 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/0.3047, allocations: 19.84 kB / 1.034 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.3051, allocations: 123.7 kB / 1.034 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000138/0.3053, allocations: 123.6 kB / 1.034 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.3054, allocations: 23.97 kB / 1.034 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.946e-05/0.3055, allocations: 47.84 kB / 1.034 GB, free: 2.316 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.855e-05/0.3056, allocations: 63.78 kB / 1.034 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.3056, allocations: 8 kB / 1.034 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.3058, allocations: 95.84 kB / 1.034 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.3059, allocations: 19.91 kB / 1.034 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.055e-05/0.3059, allocations: 81.39 kB / 1.034 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.3061, allocations: 136 kB / 1.034 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3061, allocations: 0 / 1.034 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3061, allocations: 0 / 1.034 GB, free: 1.914 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.3062, allocations: 4 kB / 1.034 GB, free: 1.91 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006422/0.3068, allocations: 462.5 kB / 1.035 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3068, allocations: 12.03 kB / 1.035 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.3069, allocations: 8.844 kB / 1.035 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.307, allocations: 188.6 kB / 1.035 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.3071, allocations: 384 / 1.035 GB, free: 1.156 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.3071, allocations: 20.12 kB / 1.035 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002414/0.3073, allocations: 101.5 kB / 1.035 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.3074, allocations: 0 / 1.035 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.3074, allocations: 0 / 1.035 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3074, allocations: 4 kB / 1.035 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002121/0.3076, allocations: 75.95 kB / 1.035 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008055/0.3084, allocations: 380.6 kB / 1.036 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.3086, allocations: 70.55 kB / 1.036 GB, free: 464 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.3087, allocations: 56.83 kB / 1.036 GB, free: 404 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.3088, allocations: 4 kB / 1.036 GB, free: 400 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.309, allocations: 107.3 kB / 1.036 GB, free: 280 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.309, allocations: 7.938 kB / 1.036 GB, free: 272 kB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005673/0.3096, allocations: 225.4 kB / 1.036 GB, free: 40 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.3097, allocations: 59.34 kB / 1.036 GB, free: 15.97 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3098, allocations: 147.8 kB / 1.036 GB, free: 15.82 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.3098, allocations: 29.7 kB / 1.036 GB, free: 15.78 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.3099, allocations: 104.4 kB / 1.036 GB, free: 15.67 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.3099, allocations: 23.66 kB / 1.036 GB, free: 15.65 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.31, allocations: 21.7 kB / 1.036 GB, free: 15.62 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.3101, allocations: 318.8 kB / 1.037 GB, free: 15.3 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3102, allocations: 43.98 kB / 1.037 GB, free: 15.26 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.3103, allocations: 84.36 kB / 1.037 GB, free: 15.16 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.3106, allocations: 124.1 kB / 1.037 GB, free: 15.02 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3106, allocations: 0 / 1.037 GB, free: 15.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.00035/0.311, allocations: 165.5 kB / 1.037 GB, free: 14.86 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.311, allocations: 8 kB / 1.037 GB, free: 14.85 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.311, allocations: 0 / 1.037 GB, free: 14.85 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.311, allocations: 0 / 1.037 GB, free: 14.85 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.3112, allocations: 24.05 kB / 1.037 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.3112, allocations: 19.86 kB / 1.037 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.3113, allocations: 15.89 kB / 1.037 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.3113, allocations: 4 kB / 1.037 GB, free: 14.79 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.404e-05/0.3114, allocations: 132.8 kB / 1.037 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.3115, allocations: 11.91 kB / 1.037 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.3115, allocations: 12.7 kB / 1.037 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3115, allocations: 0 / 1.037 GB, free: 14.62 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3115, allocations: 7.938 kB / 1.037 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3115, allocations: 0 / 1.037 GB, free: 14.61 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005995/0.3121, allocations: 474.9 kB / 1.038 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3121, allocations: 0 / 1.038 GB, free: 14.09 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.3122, allocations: 15.92 kB / 1.038 GB, free: 14.08 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3122, allocations: 3.938 kB / 1.038 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.3122, allocations: 0 / 1.038 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3122, allocations: 4 kB / 1.038 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3123, allocations: 4 kB / 1.038 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.3127, allocations: 279.2 kB / 1.038 GB, free: 13.78 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.899e-05/0.3127, allocations: 88.95 kB / 1.038 GB, free: 13.67 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.3127, allocations: 8 kB / 1.038 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3129, allocations: 7.984 kB / 1.038 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.3129, allocations: 7.984 kB / 1.038 GB, free: 13.65 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.244e-05/0.3129, allocations: 4 kB / 1.038 GB, free: 13.64 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.205e-05/0.313, allocations: 107.2 kB / 1.038 GB, free: 13.54 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.313, allocations: 0 / 1.038 GB, free: 13.54 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003145/0.3133, allocations: 44 kB / 1.038 GB, free: 13.5 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004564/0.3138, allocations: 165.4 kB / 1.038 GB, free: 13.34 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003573/0.3142, allocations: 119.9 kB / 1.039 GB, free: 13.22 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3142, allocations: 3.938 kB / 1.039 GB, free: 13.22 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.3143, allocations: 59.97 kB / 1.039 GB, free: 13.16 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.3146, allocations: 23.23 kB / 1.039 GB, free: 13.14 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005294/0.3152, allocations: 287.2 kB / 1.039 GB, free: 12.82 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3155, allocations: 0.6965 MB / 1.04 GB, free: 12.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.3156, allocations: 19.44 kB / 1.04 GB, free: 12.08 MB / 0.795 GB Notification: Performance of SimCode: time 6.81e-07/0.3156, allocations: 4 kB / 1.04 GB, free: 12.07 MB / 0.795 GB Notification: Performance of Templates: time 0.004302/0.3199, allocations: 2.034 MB / 1.042 GB, free: 10.05 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches