Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009624/0.0009624, allocations: 99.34 kB / 16.02 MB, free: 76 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.00116/0.00116, allocations: 186.4 kB / 16.92 MB, free: 6.75 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.4/1.4, allocations: 223.3 MB / 241 MB, free: 5.371 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.553/2.553, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003645, allocations: 8.281 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6438/0.6442, allocations: 142.4 MB / 0.9557 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001091/0.6453, allocations: 0.9583 MB / 0.9566 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000753/0.6461, allocations: 458.8 kB / 0.9571 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.931e-05/0.6461, allocations: 0 / 0.9571 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.263e-05/0.6462, allocations: 1.469 kB / 0.9571 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.428e-05/0.6462, allocations: 3.938 kB / 0.9571 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.6466, allocations: 88.88 kB / 0.9572 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.798e-05/0.6467, allocations: 25.58 kB / 0.9572 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.454e-05/0.6467, allocations: 1.531 kB / 0.9572 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.2e-05/0.6467, allocations: 12.77 kB / 0.9572 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.682e-05/0.6468, allocations: 14.92 kB / 0.9572 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.6468, allocations: 1.094 kB / 0.9572 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.647, allocations: 94.59 kB / 0.9573 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.647, allocations: 9.234 kB / 0.9573 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.647, allocations: 34.08 kB / 0.9573 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.6472, allocations: 72.59 kB / 0.9574 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.6472, allocations: 0 / 0.9574 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6472, allocations: 9.062 kB / 0.9574 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.6472, allocations: 0 / 0.9574 GB, free: 6.695 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003379/0.6476, allocations: 373.8 kB / 0.9578 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.6476, allocations: 9.625 kB / 0.9578 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.6476, allocations: 6.719 kB / 0.9578 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.424e-05/0.6477, allocations: 174.7 kB / 0.958 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.6477, allocations: 1.844 kB / 0.958 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.6478, allocations: 1.812 kB / 0.958 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.488e-05/0.6478, allocations: 40.28 kB / 0.958 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.8e-06/0.6479, allocations: 4.188 kB / 0.958 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.6479, allocations: 7.875 kB / 0.958 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.6479, allocations: 1.188 kB / 0.958 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.039e-05/0.6479, allocations: 8.266 kB / 0.958 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.648, allocations: 157.4 kB / 0.9582 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.735e-05/0.6481, allocations: 31.58 kB / 0.9582 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.6481, allocations: 10.02 kB / 0.9582 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.6482, allocations: 4 kB / 0.9582 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.6483, allocations: 56.95 kB / 0.9583 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.6483, allocations: 0 / 0.9583 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001815/0.6485, allocations: 70.41 kB / 0.9583 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.6485, allocations: 60.3 kB / 0.9584 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.355e-05/0.6486, allocations: 109.9 kB / 0.9585 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.6486, allocations: 26.95 kB / 0.9585 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.075e-05/0.6486, allocations: 89.5 kB / 0.9586 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.6486, allocations: 9.281 kB / 0.9586 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/0.6487, allocations: 11.12 kB / 0.9586 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.862e-05/0.6487, allocations: 317.1 kB / 0.9589 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.6487, allocations: 8.172 kB / 0.9589 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.6e-05/0.6488, allocations: 30.22 kB / 0.959 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.947e-05/0.6488, allocations: 52.7 kB / 0.959 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6488, allocations: 1.031 kB / 0.959 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.539e-05/0.6489, allocations: 68.72 kB / 0.9591 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.6489, allocations: 9.5 kB / 0.9591 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.6489, allocations: 1.031 kB / 0.9591 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.6489, allocations: 8.297 kB / 0.9591 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.558e-05/0.649, allocations: 4.156 kB / 0.9591 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.649, allocations: 4.984 kB / 0.9591 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.514e-05/0.649, allocations: 5.375 kB / 0.9591 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.6491, allocations: 2.5 kB / 0.9591 GB, free: 4.875 MB / 0.7169 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 4.652e-05/0.6491, allocations: 116.9 kB / 0.9592 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.6491, allocations: 9.484 kB / 0.9592 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.064e-05/0.6492, allocations: 5.375 kB / 0.9592 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.6492, allocations: 0 / 0.9592 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.6492, allocations: 9.406 kB / 0.9592 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6492, allocations: 0 / 0.9592 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.889e-05/0.6492, allocations: 170.1 kB / 0.9594 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.6493, allocations: 1.781 kB / 0.9594 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.6493, allocations: 1.75 kB / 0.9594 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.6493, allocations: 3.938 kB / 0.9594 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.6493, allocations: 0 / 0.9594 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6493, allocations: 1.844 kB / 0.9594 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.6493, allocations: 160 / 0.9594 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.998e-05/0.6494, allocations: 90.86 kB / 0.9595 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.744e-05/0.6494, allocations: 86.83 kB / 0.9596 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.214e-05/0.6494, allocations: 3.938 kB / 0.9596 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.199e-05/0.6495, allocations: 1.812 kB / 0.9596 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.602e-05/0.6495, allocations: 3.984 kB / 0.9596 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.6495, allocations: 1.781 kB / 0.9596 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.132e-05/0.6495, allocations: 80.66 kB / 0.9597 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6495, allocations: 0 / 0.9597 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002374/0.6498, allocations: 36.45 kB / 0.9597 GB, free: 4.23 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 (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.00029/0.6501, allocations: 169.5 kB / 0.9599 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.257e-05/0.6502, allocations: 25.81 kB / 0.9599 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.6502, allocations: 0 / 0.9599 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.408e-05/0.6502, allocations: 16.05 kB / 0.9599 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.6504, allocations: 10.23 kB / 0.9599 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001933/0.6506, allocations: 143.3 kB / 0.9601 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.396e-05/0.6507, allocations: 0.6797 MB / 0.9607 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/0.6507, allocations: 8.781 kB / 0.9607 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6507, allocations: 0 / 0.9607 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of Templates: time 0.002553/0.6532, allocations: 1.243 MB / 0.9619 GB, free: 2.598 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches