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.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.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.001211/0.001211, allocations: 108 kB / 15.6 MB, free: 132 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.001396/0.001396, allocations: 195.5 kB / 16.53 MB, free: 6.391 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.391/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.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.398/2.398, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001167, allocations: 63.89 kB / 0.8125 GB, free: 14.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.731/0.7322, allocations: 140.4 MB / 0.9496 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002456/0.7347, allocations: 1.217 MB / 0.9508 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008185/0.7355, allocations: 449.2 kB / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.7356, allocations: 0 / 0.9512 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.7356, allocations: 3.938 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.07e-05/0.7357, allocations: 3.984 kB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005124/0.7362, allocations: 111.1 kB / 0.9513 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.359e-05/0.7362, allocations: 17.73 kB / 0.9513 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.363e-05/0.7363, allocations: 10.36 kB / 0.9513 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.416e-05/0.7363, allocations: 12.39 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.12e-05/0.7364, allocations: 11.55 kB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.7364, allocations: 1.5 kB / 0.9514 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.7366, allocations: 112.9 kB / 0.9515 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.7366, allocations: 2.406 kB / 0.9515 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.346e-05/0.7367, allocations: 11.09 kB / 0.9515 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.7368, allocations: 100.6 kB / 0.9516 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7369, allocations: 0 / 0.9516 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7369, allocations: 0 / 0.9516 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.7369, allocations: 0 / 0.9516 GB, free: 7.598 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.0004659/0.7373, allocations: 394 kB / 0.9519 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.7374, allocations: 9.156 kB / 0.952 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.7374, allocations: 14.17 kB / 0.952 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.14e-05/0.7375, allocations: 166.6 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.7376, allocations: 1.469 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.7376, allocations: 2.688 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.7377, allocations: 44.86 kB / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.7377, allocations: 1.469 kB / 0.9522 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.7377, allocations: 7.938 kB / 0.9522 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.7377, allocations: 3.984 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.735e-05/0.7378, allocations: 5.781 kB / 0.9522 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.7379, allocations: 153.5 kB / 0.9523 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.728e-05/0.738, allocations: 32.3 kB / 0.9524 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.087e-05/0.738, allocations: 19.48 kB / 0.9524 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.738, allocations: 0 / 0.9524 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.7382, allocations: 70.25 kB / 0.9525 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.7382, allocations: 0 / 0.9525 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0002177/0.7384, allocations: 81.81 kB / 0.9525 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.7385, allocations: 52.72 kB / 0.9526 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.548e-05/0.7385, allocations: 104.3 kB / 0.9527 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.7385, allocations: 26.83 kB / 0.9527 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.35e-05/0.7386, allocations: 85.39 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.7386, allocations: 14.23 kB / 0.9528 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.7386, allocations: 19.44 kB / 0.9528 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.1e-05/0.7387, allocations: 319.9 kB / 0.9531 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.203e-05/0.7387, allocations: 9.125 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.86e-05/0.7388, allocations: 37.23 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.708e-05/0.7388, allocations: 59.59 kB / 0.9532 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7388, allocations: 0 / 0.9532 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001042/0.7389, allocations: 79.59 kB / 0.9533 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.739, allocations: 9.25 kB / 0.9533 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.739, allocations: 2.156 kB / 0.9533 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.739, allocations: 5 kB / 0.9533 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.7391, allocations: 12.45 kB / 0.9533 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.7391, allocations: 4.875 kB / 0.9533 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.882e-05/0.7391, allocations: 2.812 kB / 0.9533 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.7391, allocations: 3 kB / 0.9533 GB, free: 5.719 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 (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 6.589e-05/0.7392, allocations: 117.1 kB / 0.9535 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.246e-05/0.7392, allocations: 5 kB / 0.9535 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.318e-05/0.7392, allocations: 8.922 kB / 0.9535 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.7392, allocations: 4 kB / 0.9535 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.7393, allocations: 1.312 kB / 0.9535 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.7393, allocations: 0 / 0.9535 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.497e-05/0.7393, allocations: 159 kB / 0.9536 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7394, allocations: 0 / 0.9536 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.808e-05/0.7394, allocations: 4.031 kB / 0.9536 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7394, allocations: 3.938 kB / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.7394, allocations: 1.188 kB / 0.9536 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7394, allocations: 5.469 kB / 0.9536 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.7394, allocations: 7.984 kB / 0.9536 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.7395, allocations: 93.09 kB / 0.9537 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.7396, allocations: 79.55 kB / 0.9538 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.7396, allocations: 3.938 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.255e-05/0.7396, allocations: 4.984 kB / 0.9538 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.7396, allocations: 6.391 kB / 0.9538 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.7397, allocations: 5.453 kB / 0.9538 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.43e-05/0.7397, allocations: 79.38 kB / 0.9539 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7397, allocations: 0 / 0.9539 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002632/0.74, allocations: 40.39 kB / 0.9539 GB, free: 5.082 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 (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.0003331/0.7403, allocations: 159.4 kB / 0.9541 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.7404, allocations: 41.55 kB / 0.9541 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.7404, allocations: 0 / 0.9541 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.973e-05/0.7405, allocations: 21.33 kB / 0.9542 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.7406, allocations: 6.5 kB / 0.9542 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002262/0.7409, allocations: 112.8 kB / 0.9543 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.741, allocations: 0.6834 MB / 0.9549 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.373e-05/0.741, allocations: 3.031 kB / 0.9549 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.328e-05/0.741, allocations: 8.844 kB / 0.9549 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.741, allocations: 4 kB / 0.955 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of Templates: time 0.00338/0.7444, allocations: 1.094 MB / 0.956 GB, free: 3.535 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