Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.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.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 105 kB / 16.41 MB, free: 6.465 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.001378/0.001378, allocations: 187 kB / 17.34 MB, free: 5.719 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.1 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.272/2.272, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 63.89 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8303/0.8318, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Linear1D): time 0.002363/0.8342, allocations: 1.218 MB / 1.09 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007902/0.835, allocations: 410.1 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.099e-05/0.835, allocations: 4 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.593e-05/0.8351, allocations: 3.938 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.226e-05/0.8351, allocations: 1.031 kB / 1.09 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.8357, allocations: 105.5 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.113e-05/0.8358, allocations: 23.89 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.8358, allocations: 3.594 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.623e-05/0.8358, allocations: 5.016 kB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.99e-05/0.8359, allocations: 8.953 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.8359, allocations: 5.031 kB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.8361, allocations: 111.5 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.741e-05/0.8362, allocations: 3.781 kB / 1.09 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.8362, allocations: 11.81 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.8364, allocations: 95.39 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.8364, allocations: 0.7969 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8364, allocations: 0 / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.8364, allocations: 1.344 kB / 1.091 GB, free: 4.25 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004167/0.8369, allocations: 376.8 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.8369, allocations: 9.375 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.54e-05/0.837, allocations: 9.75 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.611e-05/0.837, allocations: 163.7 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.8371, allocations: 2.547 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.8371, allocations: 6 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.8372, allocations: 40.47 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.8372, allocations: 4.922 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.8372, allocations: 4.688 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.8372, allocations: 0 / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.552e-05/0.8373, allocations: 4.891 kB / 1.091 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001317/0.8374, allocations: 158.1 kB / 1.091 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.431e-05/0.8375, allocations: 29.25 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.8376, allocations: 15.78 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.8376, allocations: 1.062 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.8377, allocations: 58.12 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.8377, allocations: 0 / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002063/0.8379, allocations: 72.45 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.8379, allocations: 53.55 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.124e-05/0.838, allocations: 105.6 kB / 1.092 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.838, allocations: 29.7 kB / 1.092 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/0.838, allocations: 82.25 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.897e-05/0.8381, allocations: 5.969 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.445e-05/0.8381, allocations: 24.56 kB / 1.092 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.8382, allocations: 314.5 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.8382, allocations: 9.609 kB / 1.092 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.322e-05/0.8382, allocations: 37.09 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.92e-05/0.8383, allocations: 45.47 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8383, allocations: 1.062 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.473e-05/0.8384, allocations: 69.34 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.8384, allocations: 9.438 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.8384, allocations: 1.094 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.8385, allocations: 2.703 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.726e-05/0.8385, allocations: 6.609 kB / 1.092 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.8385, allocations: 6.438 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.417e-05/0.8386, allocations: 3.938 kB / 1.092 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.8386, allocations: 6.062 kB / 1.092 GB, free: 2.496 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.741e-05/0.8386, allocations: 121.8 kB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.8387, allocations: 9.984 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.8387, allocations: 5.422 kB / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8387, allocations: 0 / 1.092 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.8387, allocations: 5.297 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.8387, allocations: 0.7969 kB / 1.092 GB, free: 2.352 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.425e-05/0.8388, allocations: 157.8 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.8388, allocations: 1.766 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-05/0.8388, allocations: 1.875 kB / 1.093 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.8388, allocations: 7.938 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.8389, allocations: 1.484 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.8389, allocations: 1.25 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.8389, allocations: 1.094 kB / 1.093 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.839, allocations: 85.27 kB / 1.093 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.839, allocations: 81.77 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.839, allocations: 6.156 kB / 1.093 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/0.8391, allocations: 5.125 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.8391, allocations: 10.17 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.8391, allocations: 1.984 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.17e-05/0.8391, allocations: 79.97 kB / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8391, allocations: 0 / 1.093 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002761/0.8394, allocations: 37.61 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003468/0.8398, allocations: 158.6 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.8399, allocations: 28.7 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8399, allocations: 0.75 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.669e-05/0.84, allocations: 13.75 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.8401, allocations: 5 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002456/0.8404, allocations: 130.8 kB / 1.093 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.8405, allocations: 0.6769 MB / 1.094 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.8405, allocations: 9.312 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/0.8405, allocations: 5.094 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of Templates: time 0.003384/0.8439, allocations: 1.224 MB / 1.095 GB, free: 0.7773 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Linear1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Linear1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches