Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001219/0.001225, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001687/0.001687, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.447/2.447, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004284/0.0004285, allocations: 8 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.756/0.7565, allocations: 142.4 MB / 0.9544 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001177/0.7577, allocations: 0.9398 MB / 0.9553 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007543/0.7585, allocations: 430.9 kB / 0.9558 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.7585, allocations: 1.312 kB / 0.9558 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.959e-05/0.7585, allocations: 3.938 kB / 0.9558 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.895e-05/0.7586, allocations: 0 / 0.9558 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.759, allocations: 84.22 kB / 0.9558 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.533e-05/0.7591, allocations: 20.73 kB / 0.9559 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.747e-05/0.7592, allocations: 1.656 kB / 0.9559 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.527e-05/0.7592, allocations: 9.328 kB / 0.9559 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.167e-05/0.7592, allocations: 14.48 kB / 0.9559 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.7593, allocations: 5.75 kB / 0.9559 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.7594, allocations: 99.67 kB / 0.956 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.7595, allocations: 5.453 kB / 0.956 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.891e-05/0.7595, allocations: 32.55 kB / 0.956 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.7596, allocations: 68.91 kB / 0.9561 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7596, allocations: 0 / 0.9561 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7597, allocations: 0 / 0.9561 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.7597, allocations: 1.469 kB / 0.9561 GB, free: 6.469 MB / 0.7169 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.0004338/0.7601, allocations: 376.1 kB / 0.9564 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.7602, allocations: 13.81 kB / 0.9565 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.7602, allocations: 5.297 kB / 0.9565 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.252e-05/0.7603, allocations: 168.5 kB / 0.9566 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.7603, allocations: 6.594 kB / 0.9566 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.7604, allocations: 10.39 kB / 0.9566 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.7605, allocations: 35.19 kB / 0.9567 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7605, allocations: 1.031 kB / 0.9567 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.7605, allocations: 0 / 0.9567 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.7605, allocations: 1.125 kB / 0.9567 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.034e-05/0.7606, allocations: 12.8 kB / 0.9567 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001596/0.7608, allocations: 162.3 kB / 0.9568 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.527e-05/0.7608, allocations: 24.11 kB / 0.9569 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.353e-05/0.7609, allocations: 23.09 kB / 0.9569 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.7609, allocations: 0 / 0.9569 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.7611, allocations: 58.03 kB / 0.9569 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.7611, allocations: 0 / 0.9569 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002528/0.7613, allocations: 69.39 kB / 0.957 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.7614, allocations: 61.42 kB / 0.9571 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.659e-05/0.7615, allocations: 111.4 kB / 0.9572 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.7615, allocations: 26.73 kB / 0.9572 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.7615, allocations: 85.05 kB / 0.9573 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.7616, allocations: 13.66 kB / 0.9573 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.7616, allocations: 1.125 kB / 0.9573 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.405e-05/0.7616, allocations: 328 kB / 0.9576 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.124e-05/0.7617, allocations: 5.188 kB / 0.9576 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.033e-05/0.7617, allocations: 39.97 kB / 0.9576 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.531e-05/0.7618, allocations: 11.88 kB / 0.9577 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7618, allocations: 4 kB / 0.9577 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001137/0.7619, allocations: 71.97 kB / 0.9577 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.7619, allocations: 5.562 kB / 0.9577 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7619, allocations: 0.8438 kB / 0.9577 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.762, allocations: 2.219 kB / 0.9577 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.762, allocations: 12.33 kB / 0.9578 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.7621, allocations: 1.094 kB / 0.9578 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.707e-05/0.7621, allocations: 9.938 kB / 0.9578 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.7621, allocations: 15.23 kB / 0.9578 GB, free: 4.672 MB / 0.7169 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.885e-05/0.7622, allocations: 116.7 kB / 0.9579 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.257e-06/0.7622, allocations: 2.844 kB / 0.9579 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.7623, allocations: 7.562 kB / 0.9579 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.7623, allocations: 5.172 kB / 0.9579 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7623, allocations: 0 / 0.9579 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.7623, allocations: 1.344 kB / 0.9579 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001005/0.7624, allocations: 157.8 kB / 0.9581 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.7624, allocations: 0.9375 kB / 0.9581 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.022e-05/0.7624, allocations: 3.125 kB / 0.9581 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.7625, allocations: 4.047 kB / 0.9581 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.7625, allocations: 5.078 kB / 0.9581 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7625, allocations: 1.125 kB / 0.9581 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.7625, allocations: 0 / 0.9581 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.7626, allocations: 101.6 kB / 0.9582 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.7627, allocations: 78.17 kB / 0.9582 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.7627, allocations: 1.219 kB / 0.9582 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.118e-05/0.7627, allocations: 1.219 kB / 0.9582 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.751e-05/0.7627, allocations: 9.109 kB / 0.9583 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.7628, allocations: 2.344 kB / 0.9583 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.07e-05/0.7628, allocations: 82.91 kB / 0.9583 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.7628, allocations: 3.938 kB / 0.9583 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003274/0.7631, allocations: 36.89 kB / 0.9584 GB, free: 4.043 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000387/0.7635, allocations: 165.1 kB / 0.9585 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001249/0.7637, allocations: 31.64 kB / 0.9586 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7637, allocations: 0 / 0.9586 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.166e-05/0.7637, allocations: 14.91 kB / 0.9586 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.7639, allocations: 14.22 kB / 0.9586 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.7642, allocations: 121.8 kB / 0.9587 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.7643, allocations: 0.6874 MB / 0.9594 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.367e-05/0.7644, allocations: 0 / 0.9594 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.7644, allocations: 8.781 kB / 0.9594 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7644, allocations: 1.406 kB / 0.9594 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of Templates: time 0.003579/0.768, allocations: 1.057 MB / 0.9604 GB, free: 2.504 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,seed,t0,time,y