Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_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.009484/0.009484, allocations: 106 kB / 15.74 MB, free: 6.016 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.00211/0.00211, allocations: 191.9 kB / 16.68 MB, free: 5.934 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.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.109 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.802/2.802, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 68.11 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3174, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002226/0.3196, allocations: 1.231 MB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0008925/0.3205, allocations: 452.3 kB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.3205, allocations: 4 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.3206, allocations: 3.938 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.155e-05/0.3206, allocations: 0 / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.3212, allocations: 111.6 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.785e-05/0.3212, allocations: 19.92 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.3213, allocations: 4 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.602e-05/0.3213, allocations: 19.92 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.644e-05/0.3213, allocations: 7.922 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.3213, allocations: 4 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.3216, allocations: 103.9 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.3216, allocations: 3.984 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.3216, allocations: 11.94 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002001/0.3218, allocations: 103.7 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3218, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3218, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.3218, allocations: 0 / 1.223 GB, free: 11.77 MB / 0.9825 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.0005171/0.3223, allocations: 400.7 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3224, allocations: 8.031 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.3224, allocations: 4.938 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3226, allocations: 160.4 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.3226, allocations: 8.312 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.3226, allocations: 4.375 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.3227, allocations: 38.23 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3227, allocations: 192 / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.3227, allocations: 7.938 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3227, allocations: 4 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.533e-05/0.3228, allocations: 3.938 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.323, allocations: 169.6 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.203e-05/0.323, allocations: 30.59 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.3231, allocations: 12.86 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.3231, allocations: 0 / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.3233, allocations: 59.48 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3233, allocations: 0 / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002171/0.3235, allocations: 73.55 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.3235, allocations: 55.41 kB / 1.224 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.3236, allocations: 105.8 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.3236, allocations: 25.7 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.3236, allocations: 84.14 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.3237, allocations: 11.91 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.551e-05/0.3237, allocations: 21.72 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.661e-05/0.3238, allocations: 318.8 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.3238, allocations: 4 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.728e-05/0.3239, allocations: 43.39 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.019e-05/0.3239, allocations: 47.38 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3239, allocations: 4 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001013/0.324, allocations: 65.56 kB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.324, allocations: 15.92 kB / 1.224 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.324, allocations: 3.938 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.3241, allocations: 0 / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.3241, allocations: 8 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.3241, allocations: 4.094 kB / 1.224 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.3242, allocations: 7.938 kB / 1.224 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.3242, allocations: 0 / 1.224 GB, free: 9.734 MB / 0.9825 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 6.956e-05/0.3242, allocations: 113.8 kB / 1.224 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.3243, allocations: 11.89 kB / 1.224 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.3243, allocations: 7.891 kB / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3243, allocations: 0 / 1.224 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.3243, allocations: 3.938 kB / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3243, allocations: 0 / 1.224 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.3244, allocations: 157.7 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3244, allocations: 0 / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-05/0.3244, allocations: 4 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3244, allocations: 7.875 kB / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.3244, allocations: 0 / 1.225 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3244, allocations: 3.984 kB / 1.225 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3244, allocations: 4.25 kB / 1.225 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.3246, allocations: 77.36 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.609e-05/0.3246, allocations: 85.06 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.033e-05/0.3246, allocations: 19.92 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.289e-05/0.3246, allocations: 48 / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.3247, allocations: 3.984 kB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.3247, allocations: 4 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.461e-05/0.3247, allocations: 83.27 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3247, allocations: 0 / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002599/0.325, allocations: 39.81 kB / 1.225 GB, free: 9.016 MB / 0.9825 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.0003643/0.3253, allocations: 167.2 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.3255, allocations: 23.98 kB / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3255, allocations: 0 / 1.225 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.839e-05/0.3255, allocations: 15.92 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.3256, allocations: 4 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000252/0.3259, allocations: 121 kB / 1.225 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.3261, allocations: 0.6768 MB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.469e-05/0.3261, allocations: 8.234 kB / 1.226 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.645e-05/0.3262, allocations: 11.38 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3262, allocations: 0 / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of Templates: time 0.003422/0.3296, allocations: 1.074 MB / 1.227 GB, free: 6.875 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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