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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.008152/0.008152, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.00185/0.00185, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.597/2.597, allocations: 437 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 63.91 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3364, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002064/0.3385, allocations: 1.213 MB / 1.168 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.3394, allocations: 478.7 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.3394, allocations: 0 / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.3394, allocations: 0 / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.507e-05/0.3395, allocations: 3.938 kB / 1.168 GB, free: 5.156 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.34, allocations: 111.6 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.331e-05/0.3401, allocations: 15.98 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.464e-05/0.3402, allocations: 11.98 kB / 1.168 GB, free: 5.02 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.596e-05/0.3402, allocations: 11.92 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.735e-05/0.3402, allocations: 15.97 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.3403, allocations: 0 / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.3405, allocations: 99.84 kB / 1.168 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.3405, allocations: 11.92 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.3406, allocations: 7.938 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.3408, allocations: 103.7 kB / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3408, allocations: 0 / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3408, allocations: 0 / 1.169 GB, free: 4.773 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.3408, allocations: 0 / 1.169 GB, free: 4.773 MB / 0.92 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.000518/0.3413, allocations: 396.8 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3414, allocations: 8.031 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.3414, allocations: 4.938 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.89e-05/0.3415, allocations: 160.4 kB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.3415, allocations: 4.375 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.3416, allocations: 384 / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.3417, allocations: 42.23 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3417, allocations: 4.188 kB / 1.169 GB, free: 4.066 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3417, allocations: 7.938 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3417, allocations: 0 / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.1e-05/0.3417, allocations: 4 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001476/0.3419, allocations: 157.6 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.82e-05/0.342, allocations: 34.55 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.342, allocations: 12.86 kB / 1.169 GB, free: 3.793 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.342, allocations: 3.938 kB / 1.169 GB, free: 3.789 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.3422, allocations: 71.42 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.3422, allocations: 0 / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002015/0.3424, allocations: 73.55 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.3424, allocations: 51.41 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.489e-05/0.3425, allocations: 109.8 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.3425, allocations: 25.7 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.697e-05/0.3426, allocations: 88.14 kB / 1.17 GB, free: 3.328 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.3426, allocations: 7.953 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.3426, allocations: 17.72 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3428, allocations: 322.8 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.437e-05/0.3428, allocations: 7.984 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-05/0.3428, allocations: 35.42 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.083e-05/0.3429, allocations: 47.38 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3429, allocations: 0 / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.656e-05/0.343, allocations: 69.58 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.343, allocations: 15.86 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.343, allocations: 4 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3431, allocations: 0 / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/0.3431, allocations: 8.328 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3431, allocations: 4 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.3432, allocations: 0 / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.3432, allocations: 4.156 kB / 1.17 GB, free: 2.75 MB / 0.92 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.81e-05/0.3433, allocations: 117.8 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.373e-05/0.3433, allocations: 11.88 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.3433, allocations: 7.891 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3433, allocations: 4 kB / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3433, allocations: 0 / 1.17 GB, free: 2.594 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3434, allocations: 4 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.3435, allocations: 153.7 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3435, allocations: 0 / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.597e-05/0.3435, allocations: 7.938 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.3435, allocations: 3.938 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.3435, allocations: 0 / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3435, allocations: 3.984 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3435, allocations: 3.938 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.3436, allocations: 81.12 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.3437, allocations: 85.06 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.3437, allocations: 8.172 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.095e-05/0.3438, allocations: 0 / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.789e-05/0.3438, allocations: 12 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3438, allocations: 0 / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.797e-05/0.3438, allocations: 83.27 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3438, allocations: 3.938 kB / 1.171 GB, free: 2.066 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000243/0.3441, allocations: 35.88 kB / 1.171 GB, free: 2.031 MB / 0.92 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.0003174/0.3444, allocations: 160.4 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.3445, allocations: 23.98 kB / 1.171 GB, free: 1.855 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.3445, allocations: 4 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.3446, allocations: 16.06 kB / 1.171 GB, free: 1.836 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.3447, allocations: 10.12 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002259/0.345, allocations: 117.1 kB / 1.171 GB, free: 1.688 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.3452, allocations: 0.6807 MB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.08e-05/0.3452, allocations: 3.984 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.587e-05/0.3452, allocations: 11.44 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.3452, allocations: 0 / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of Templates: time 0.003172/0.3484, allocations: 1.066 MB / 1.173 GB, free: 15.9 MB / 0.9356 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 -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/jenkins/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