Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001051/0.001051, allocations: 92.23 kB / 16.02 MB, free: 80 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.001507/0.001507, allocations: 177 kB / 16.92 MB, free: 6.648 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.359/1.359, allocations: 223.3 MB / 241 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.643/2.643, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003333, allocations: 12.41 kB / 0.9034 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3426, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001531/0.3442, allocations: 0.9509 MB / 1.06 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009775/0.3452, allocations: 430.7 kB / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.464e-05/0.3452, allocations: 0 / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.3453, allocations: 0 / 1.061 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.217e-05/0.3453, allocations: 4 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005288/0.3458, allocations: 83.78 kB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.205e-05/0.3459, allocations: 23.92 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.346, allocations: 0 / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.254e-05/0.346, allocations: 15.91 kB / 1.061 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.184e-05/0.3461, allocations: 8 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.3461, allocations: 0 / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002322/0.3463, allocations: 99.83 kB / 1.061 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.3464, allocations: 4 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.639e-05/0.3464, allocations: 41.62 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.3466, allocations: 71.89 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.3466, allocations: 4 kB / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.385e-06/0.3466, allocations: 0 / 1.061 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3466, allocations: 0 / 1.061 GB, free: 3.223 MB / 0.8106 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.0005059/0.3472, allocations: 369.4 kB / 1.061 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3472, allocations: 15.95 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.3472, allocations: 4.938 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.3474, allocations: 168.3 kB / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.3475, allocations: 384 / 1.062 GB, free: 2.582 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.3475, allocations: 8.375 kB / 1.062 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.3476, allocations: 34.25 kB / 1.062 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.3476, allocations: 192 / 1.062 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.3476, allocations: 7.922 kB / 1.062 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3476, allocations: 4 kB / 1.062 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.735e-05/0.3477, allocations: 7.984 kB / 1.062 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.3478, allocations: 153.7 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.202e-05/0.3479, allocations: 34.55 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.847e-05/0.348, allocations: 16.86 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.728e-06/0.348, allocations: 3.938 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/0.3482, allocations: 59.42 kB / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.3482, allocations: 0 / 1.062 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0002226/0.3484, allocations: 69.56 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.3485, allocations: 51.41 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.001e-05/0.3485, allocations: 109.8 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3486, allocations: 25.7 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.3486, allocations: 80.14 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.3487, allocations: 15.81 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.3487, allocations: 13.7 kB / 1.062 GB, free: 1.777 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3488, allocations: 314.8 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.3488, allocations: 8 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.046e-05/0.3489, allocations: 35.42 kB / 1.063 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.648e-05/0.349, allocations: 51.38 kB / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.349, allocations: 0 / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001117/0.3491, allocations: 69.55 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3491, allocations: 16.03 kB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3491, allocations: 0 / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3491, allocations: 0 / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.962e-05/0.3492, allocations: 8 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3492, allocations: 0 / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.652e-05/0.3493, allocations: 4 kB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-06/0.3493, allocations: 0 / 1.063 GB, free: 1.242 MB / 0.8106 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 8.317e-05/0.3494, allocations: 121.8 kB / 1.063 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.634e-05/0.3494, allocations: 11.84 kB / 1.063 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.3494, allocations: 7.5 kB / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3494, allocations: 0 / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3494, allocations: 432 / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3494, allocations: 0 / 1.063 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.3496, allocations: 157.7 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3496, allocations: 3.938 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.749e-05/0.3496, allocations: 8 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.3496, allocations: 3.938 kB / 1.063 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3496, allocations: 3.984 kB / 1.063 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3497, allocations: 3.984 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3497, allocations: 3.938 kB / 1.063 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.3498, allocations: 85.12 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.3498, allocations: 77.11 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.3499, allocations: 7.922 kB / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.3499, allocations: 0 / 1.063 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-05/0.3499, allocations: 8 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.3499, allocations: 0 / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.119e-05/0.35, allocations: 83.27 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of sort global known variables: time 4.21e-07/0.35, allocations: 7.938 kB / 1.063 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002572/0.3503, allocations: 36 kB / 1.063 GB, free: 0.5273 MB / 0.8106 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.0004051/0.3507, allocations: 153.7 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.3508, allocations: 23.98 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3508, allocations: 0 / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.976e-05/0.3509, allocations: 24.11 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.351, allocations: 1.375 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.3513, allocations: 140.2 kB / 1.064 GB, free: 164 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.3516, allocations: 0.6848 MB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.3516, allocations: 11.38 kB / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.3516, allocations: 0 / 1.064 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of Templates: time 0.003322/0.355, allocations: 1.218 MB / 1.065 GB, free: 14.22 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches