Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001075/0.001075, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.001045/0.001045, allocations: 190.9 kB / 17.31 MB, free: 5.613 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.412/2.412, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 64.06 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2708, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002395/0.2732, allocations: 1.229 MB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008911/0.2741, allocations: 464 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.2742, allocations: 3.938 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.2742, allocations: 0 / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.548e-05/0.2743, allocations: 3.938 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005781/0.2748, allocations: 115.6 kB / 1.021 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.801e-05/0.2749, allocations: 23.92 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.275, allocations: 7.938 kB / 1.021 GB, free: 8.043 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.522e-05/0.275, allocations: 11.92 kB / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.941e-05/0.275, allocations: 7.984 kB / 1.021 GB, free: 8.023 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.2751, allocations: 4 kB / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.2753, allocations: 103.8 kB / 1.021 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.2753, allocations: 7.922 kB / 1.021 GB, free: 7.91 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.2754, allocations: 11.94 kB / 1.021 GB, free: 7.898 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000191/0.2755, allocations: 99.8 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2756, allocations: 0 / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2756, allocations: 0 / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2756, allocations: 4 kB / 1.021 GB, free: 7.797 MB / 0.795 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.0004661/0.276, allocations: 385 kB / 1.021 GB, free: 7.363 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.2761, allocations: 12.62 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.251e-05/0.2761, allocations: 0.9375 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.2763, allocations: 168.4 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.2763, allocations: 384 / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.2763, allocations: 8.359 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.2764, allocations: 38.19 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2764, allocations: 4.188 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.2764, allocations: 3.938 kB / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2765, allocations: 0 / 1.021 GB, free: 7.09 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.456e-05/0.2765, allocations: 8 kB / 1.021 GB, free: 7.082 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.2766, allocations: 157.7 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.218e-05/0.2767, allocations: 30.58 kB / 1.022 GB, free: 6.84 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.329e-05/0.2768, allocations: 12.94 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.2768, allocations: 4 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.2769, allocations: 63.23 kB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.277, allocations: 0 / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001993/0.2772, allocations: 73.61 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.2772, allocations: 55.34 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.03e-05/0.2773, allocations: 113.8 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.2773, allocations: 29.7 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.318e-05/0.2774, allocations: 84.14 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.2774, allocations: 11.84 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.2774, allocations: 29.64 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.2775, allocations: 310.8 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/0.2776, allocations: 8 kB / 1.022 GB, free: 5.992 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.671e-05/0.2776, allocations: 31.42 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.162e-05/0.2777, allocations: 51.38 kB / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2777, allocations: 0 / 1.022 GB, free: 5.887 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.984e-05/0.2778, allocations: 69.52 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.2778, allocations: 11.94 kB / 1.023 GB, free: 5.801 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2778, allocations: 3.938 kB / 1.023 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.2779, allocations: 4.094 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/0.2779, allocations: 8 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2779, allocations: 3.938 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.484e-05/0.278, allocations: 4 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.278, allocations: 4 kB / 1.023 GB, free: 5.773 MB / 0.795 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.821e-05/0.2781, allocations: 114.5 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.488e-05/0.2781, allocations: 7.938 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.2781, allocations: 7.906 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2781, allocations: 0 / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.2781, allocations: 4 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.2781, allocations: 0 / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.2783, allocations: 157.6 kB / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2783, allocations: 0 / 1.023 GB, free: 5.426 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.652e-05/0.2783, allocations: 3.984 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2783, allocations: 3.938 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.2783, allocations: 8 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2783, allocations: 0 / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2783, allocations: 0 / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.2785, allocations: 89.05 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.2785, allocations: 81.11 kB / 1.023 GB, free: 5.207 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.2785, allocations: 3.938 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.142e-05/0.2785, allocations: 3.938 kB / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.097e-05/0.2786, allocations: 0 / 1.023 GB, free: 5.199 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.2786, allocations: 4 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.941e-05/0.2786, allocations: 91.52 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2786, allocations: 0 / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002466/0.2789, allocations: 28 kB / 1.023 GB, free: 5.078 MB / 0.795 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.0003361/0.2792, allocations: 170.7 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001128/0.2794, allocations: 31.92 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2794, allocations: 0 / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/0.2794, allocations: 12 kB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.2795, allocations: 0 / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/0.2798, allocations: 113.1 kB / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001987/0.28, allocations: 0.6807 MB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.236e-05/0.28, allocations: 0 / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.28, allocations: 15.38 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.2801, allocations: 0 / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of Templates: time 0.003467/0.2835, allocations: 1.079 MB / 1.025 GB, free: 2.934 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,t0,time,y