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.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.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.001549/0.001549, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.001826/0.001826, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.323/2.323, allocations: 390.3 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 64.33 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2633, allocations: 140.4 MB / 0.9498 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002743/0.2661, allocations: 1.282 MB / 0.951 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009317/0.267, allocations: 456.6 kB / 0.9515 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.266e-05/0.2671, allocations: 0 / 0.9515 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.2671, allocations: 7.938 kB / 0.9515 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.263e-05/0.2672, allocations: 0 / 0.9515 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.2678, allocations: 103.8 kB / 0.9516 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.296e-05/0.2679, allocations: 19.92 kB / 0.9516 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.268, allocations: 7.984 kB / 0.9516 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.268, allocations: 11.88 kB / 0.9516 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.077e-05/0.268, allocations: 11.92 kB / 0.9516 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.268, allocations: 0 / 0.9516 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.2683, allocations: 103.8 kB / 0.9517 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.056e-05/0.2683, allocations: 11.98 kB / 0.9517 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.377e-05/0.2684, allocations: 11.94 kB / 0.9517 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.2685, allocations: 67.88 kB / 0.9518 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2685, allocations: 0 / 0.9518 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2685, allocations: 0 / 0.9518 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.2686, allocations: 0 / 0.9518 GB, free: 7.18 MB / 0.7325 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.0005036/0.2691, allocations: 393.3 kB / 0.9522 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2691, allocations: 8.031 kB / 0.9522 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.2691, allocations: 8.844 kB / 0.9522 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.2693, allocations: 168.4 kB / 0.9523 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/0.2693, allocations: 384 / 0.9523 GB, free: 6.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.2693, allocations: 4.375 kB / 0.9524 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.2694, allocations: 42.23 kB / 0.9524 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.705e-06/0.2695, allocations: 192 / 0.9524 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.2695, allocations: 3.938 kB / 0.9524 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.2695, allocations: 4 kB / 0.9524 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.431e-05/0.2695, allocations: 3.938 kB / 0.9524 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.2697, allocations: 157.7 kB / 0.9526 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.059e-05/0.2698, allocations: 34.61 kB / 0.9526 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.2698, allocations: 8.859 kB / 0.9526 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.2698, allocations: 0 / 0.9526 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.27, allocations: 59.48 kB / 0.9527 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.27, allocations: 0 / 0.9527 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002164/0.2703, allocations: 81.45 kB / 0.9527 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.2703, allocations: 59.41 kB / 0.9528 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.279e-05/0.2704, allocations: 105.8 kB / 0.9529 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.2704, allocations: 25.7 kB / 0.9529 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.574e-05/0.2705, allocations: 80.14 kB / 0.953 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.2705, allocations: 15.84 kB / 0.953 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.2705, allocations: 21.7 kB / 0.953 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2706, allocations: 314.8 kB / 0.9533 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/0.2707, allocations: 8 kB / 0.9533 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.2707, allocations: 39.41 kB / 0.9534 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.573e-05/0.2708, allocations: 43.38 kB / 0.9534 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2708, allocations: 0 / 0.9534 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001019/0.2709, allocations: 77.47 kB / 0.9535 GB, free: 5.191 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2709, allocations: 11.92 kB / 0.9535 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2709, allocations: 3.938 kB / 0.9535 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.2709, allocations: 8.172 kB / 0.9535 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.2e-05/0.271, allocations: 4 kB / 0.9535 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.271, allocations: 4 kB / 0.9535 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.689e-05/0.2711, allocations: 4 kB / 0.9535 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.2711, allocations: 4 kB / 0.9535 GB, free: 5.152 MB / 0.7325 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 7.747e-05/0.2712, allocations: 109.9 kB / 0.9536 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.2712, allocations: 15.86 kB / 0.9536 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.928e-05/0.2712, allocations: 11.89 kB / 0.9537 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2712, allocations: 0 / 0.9537 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2712, allocations: 0 / 0.9537 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2712, allocations: 0 / 0.9537 GB, free: 5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.2714, allocations: 157.9 kB / 0.9538 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2714, allocations: 4 kB / 0.9538 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.471e-05/0.2714, allocations: 0 / 0.9538 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.2714, allocations: 3.938 kB / 0.9538 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.2714, allocations: 4 kB / 0.9538 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2714, allocations: 7.984 kB / 0.9538 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2714, allocations: 0 / 0.9538 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.2716, allocations: 81.03 kB / 0.9539 GB, free: 4.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.2716, allocations: 85.09 kB / 0.954 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.2716, allocations: 3.938 kB / 0.954 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.196e-05/0.2716, allocations: 0 / 0.954 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.2717, allocations: 0 / 0.954 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-06/0.2717, allocations: 4 kB / 0.954 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.2717, allocations: 95.2 kB / 0.9541 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2717, allocations: 0 / 0.9541 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002582/0.272, allocations: 36 kB / 0.9541 GB, free: 4.441 MB / 0.7325 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.0003317/0.2723, allocations: 157.1 kB / 0.9543 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.2725, allocations: 40.08 kB / 0.9543 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2725, allocations: 0 / 0.9543 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.078e-05/0.2725, allocations: 16.08 kB / 0.9543 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001415/0.2727, allocations: 0 / 0.9543 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/0.2729, allocations: 146.7 kB / 0.9545 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.2733, allocations: 0.6844 MB / 0.9551 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.2734, allocations: 7.438 kB / 0.9551 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.2734, allocations: 4.062 kB / 0.9551 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of Templates: time 0.003056/0.2764, allocations: 1.257 MB / 0.9564 GB, free: 2.082 MB / 0.7325 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