Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 113.8 kB / 16.41 MB, free: 6.008 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.001528/0.001528, allocations: 185.1 kB / 17.34 MB, free: 5.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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.448/2.448, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 60.12 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8214/0.8228, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002275/0.8251, allocations: 1.225 MB / 1.168 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008302/0.826, allocations: 441 kB / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.826, allocations: 0 / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.826, allocations: 0 / 1.169 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.929e-05/0.8261, allocations: 7.938 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.8267, allocations: 111.6 kB / 1.169 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.977e-05/0.8267, allocations: 8 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.8268, allocations: 7.984 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.48e-05/0.8268, allocations: 11.94 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.796e-05/0.8268, allocations: 3.984 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.8269, allocations: 7.938 kB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.8271, allocations: 99.91 kB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.8271, allocations: 15.91 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.8271, allocations: 4 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.8273, allocations: 99.75 kB / 1.169 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.8274, allocations: 3.984 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8274, allocations: 3.938 kB / 1.169 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8274, allocations: 0 / 1.169 GB, free: 1.844 MB / 0.8887 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.0004675/0.8279, allocations: 380.9 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.8279, allocations: 16.91 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.8279, allocations: 0.9375 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.828, allocations: 164.4 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.8281, allocations: 384 / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.8281, allocations: 8.375 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.542e-05/0.8282, allocations: 38.25 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.8282, allocations: 192 / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.8282, allocations: 3.938 kB / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.8282, allocations: 0 / 1.17 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.168e-05/0.8283, allocations: 7.984 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.8284, allocations: 157.6 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.113e-05/0.8285, allocations: 30.61 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.482e-05/0.8286, allocations: 16.86 kB / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.498e-06/0.8286, allocations: 0 / 1.17 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.8287, allocations: 51.5 kB / 1.17 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 3.026e-06/0.8288, allocations: 7.984 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0002036/0.829, allocations: 77.45 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.829, allocations: 51.41 kB / 1.17 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.8291, allocations: 101.8 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.8291, allocations: 29.7 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.8292, allocations: 84.14 kB / 1.17 GB, free: 444 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.8292, allocations: 3.906 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.126e-05/0.8293, allocations: 25.7 kB / 1.17 GB, free: 408 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.8294, allocations: 314.8 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.485e-05/0.8294, allocations: 7.984 kB / 1.171 GB, free: 76 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.223e-05/0.8295, allocations: 35.44 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.8296, allocations: 43.42 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.8296, allocations: 0 / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001061/0.8297, allocations: 73.5 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.8297, allocations: 12.03 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8297, allocations: 0 / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.8298, allocations: 4 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/0.8298, allocations: 7.938 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.8299, allocations: 4 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.095e-05/0.8299, allocations: 5.734 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.8299, allocations: 4 kB / 1.171 GB, free: 15.86 MB / 0.9044 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 9.02e-05/0.83, allocations: 117.8 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.386e-05/0.83, allocations: 11.88 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.8301, allocations: 7.5 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.8301, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.8301, allocations: 0 / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.8301, allocations: 3.938 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.8302, allocations: 161.7 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.8302, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.215e-05/0.8302, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.8302, allocations: 3.938 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.8303, allocations: 3.984 kB / 1.171 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8303, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.8303, allocations: 0 / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.8304, allocations: 81.12 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.284e-05/0.8304, allocations: 85 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.651e-05/0.8305, allocations: 11.94 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.137e-05/0.8305, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.8305, allocations: 480 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.8305, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.872e-05/0.8306, allocations: 87.25 kB / 1.171 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8306, allocations: 4 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002795/0.8309, allocations: 32 kB / 1.172 GB, free: 15.15 MB / 0.9044 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.0003479/0.8312, allocations: 162.8 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.8313, allocations: 31.86 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.8314, allocations: 4.188 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.226e-05/0.8314, allocations: 23.92 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.8315, allocations: 0 / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.8318, allocations: 134.6 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.8321, allocations: 0.6768 MB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.566e-05/0.8321, allocations: 7.438 kB / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.8321, allocations: 0 / 1.173 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of Templates: time 0.003033/0.8352, allocations: 1.222 MB / 1.174 GB, free: 12.84 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches