Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.002227/0.002227, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.415/1.415, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001964, allocations: 72.31 kB / 0.9245 GB, free: 0 / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8305/0.8324, allocations: 162.2 MB / 1.083 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002586/0.8351, allocations: 1.221 MB / 1.084 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008418/0.8359, allocations: 446.8 kB / 1.085 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.836, allocations: 1.094 kB / 1.085 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.171e-05/0.8361, allocations: 0.7031 kB / 1.085 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.162e-05/0.8361, allocations: 7.938 kB / 1.085 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006214/0.8367, allocations: 111 kB / 1.085 GB, free: 444 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.543e-05/0.8368, allocations: 20.7 kB / 1.085 GB, free: 436 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.642e-05/0.8369, allocations: 6.938 kB / 1.085 GB, free: 432 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.555e-05/0.8369, allocations: 13.75 kB / 1.085 GB, free: 424 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.351e-05/0.8369, allocations: 10.8 kB / 1.085 GB, free: 420 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.8369, allocations: 1.062 kB / 1.085 GB, free: 420 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002727/0.8372, allocations: 109.6 kB / 1.085 GB, free: 384 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.8373, allocations: 3.25 kB / 1.085 GB, free: 384 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.8373, allocations: 12.59 kB / 1.085 GB, free: 376 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.8376, allocations: 104.1 kB / 1.085 GB, free: 340 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.8376, allocations: 0 / 1.085 GB, free: 340 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8376, allocations: 0.7188 kB / 1.085 GB, free: 340 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.8376, allocations: 0 / 1.085 GB, free: 340 kB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005186/0.8381, allocations: 389.8 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.8382, allocations: 9.688 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.8382, allocations: 6.797 kB / 1.085 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.8384, allocations: 168 kB / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.8384, allocations: 5.438 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.8385, allocations: 3.531 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.8386, allocations: 46.95 kB / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.8386, allocations: 192 / 1.086 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.8386, allocations: 5.219 kB / 1.086 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/0.8387, allocations: 0 / 1.086 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.196e-05/0.8387, allocations: 10.95 kB / 1.086 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.839, allocations: 163.5 kB / 1.086 GB, free: 15.47 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.421e-05/0.8391, allocations: 21.58 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/0.8391, allocations: 20.62 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.8391, allocations: 4.875 kB / 1.086 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001552/0.8393, allocations: 59.64 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.8393, allocations: 1.156 kB / 1.086 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5): time 0.0002582/0.8396, allocations: 75.78 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.8396, allocations: 54.77 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.8397, allocations: 106.1 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.8398, allocations: 30.55 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.8398, allocations: 85.23 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.8399, allocations: 11.73 kB / 1.086 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.8399, allocations: 25.31 kB / 1.086 GB, free: 15 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002236/0.8402, allocations: 313.4 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.8402, allocations: 7.547 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.052e-05/0.8402, allocations: 41.91 kB / 1.087 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.601e-05/0.8403, allocations: 53.95 kB / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.8403, allocations: 0 / 1.087 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001288/0.8405, allocations: 81.55 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.8405, allocations: 10.09 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8405, allocations: 1.484 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.8405, allocations: 1.938 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.763e-05/0.8406, allocations: 10.03 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.8406, allocations: 1.812 kB / 1.087 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.338e-05/0.8407, allocations: 5.281 kB / 1.087 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.8407, allocations: 3.781 kB / 1.087 GB, free: 14.53 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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 0.0001037/0.8408, allocations: 129.9 kB / 1.087 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.8408, allocations: 9.938 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.207e-05/0.8408, allocations: 8.344 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.8409, allocations: 2.422 kB / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.8409, allocations: 0 / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.8409, allocations: 0 / 1.087 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001527/0.841, allocations: 157.1 kB / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.841, allocations: 0 / 1.087 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.454e-05/0.8411, allocations: 7.938 kB / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.8411, allocations: 4.5 kB / 1.087 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.8411, allocations: 10.72 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.8411, allocations: 0.7969 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8411, allocations: 0 / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.8413, allocations: 88.39 kB / 1.087 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/0.8413, allocations: 83.16 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.8414, allocations: 6.016 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.419e-05/0.8414, allocations: 4 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.8414, allocations: 3.438 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.8414, allocations: 6.062 kB / 1.087 GB, free: 14 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.662e-05/0.8415, allocations: 80.91 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8415, allocations: 1.094 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000317/0.8418, allocations: 37.67 kB / 1.087 GB, free: 13.91 MB / 0.8419 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 (5): * Single equations (assignments): 3 * 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.0004307/0.8423, allocations: 162.2 kB / 1.087 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.8424, allocations: 40.05 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8424, allocations: 0.8125 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.785e-05/0.8425, allocations: 14.67 kB / 1.087 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.8426, allocations: 2.469 kB / 1.087 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003041/0.8429, allocations: 154.9 kB / 1.088 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.8433, allocations: 0.6837 MB / 1.088 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.8433, allocations: 9.875 kB / 1.088 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.8433, allocations: 0 / 1.088 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of Templates: time 0.003613/0.8469, allocations: 1.275 MB / 1.09 GB, free: 12.79 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches