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.001281/0.001281, allocations: 104.7 kB / 16.41 MB, free: 6.512 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.001348/0.001349, allocations: 187 kB / 17.34 MB, free: 5.742 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.347/1.347, 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.1-maint.10.0.x/package.mo): time 2.438/2.438, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.91 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8176/0.8189, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002062/0.821, allocations: 1.229 MB / 1.168 GB, free: 2.609 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008766/0.8219, allocations: 468.8 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.314e-05/0.8219, allocations: 0 / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.8219, allocations: 0 / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.128e-05/0.822, allocations: 7.938 kB / 1.169 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005035/0.8225, allocations: 111.6 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.39e-05/0.8225, allocations: 19.97 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.8226, allocations: 7.984 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.126e-05/0.8226, allocations: 7.938 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.203e-05/0.8227, allocations: 15.92 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.8227, allocations: 0 / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.8229, allocations: 99.84 kB / 1.169 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.8229, allocations: 7.984 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.8229, allocations: 11.94 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.8231, allocations: 99.8 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.8231, allocations: 3.938 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8231, allocations: 0 / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.8232, allocations: 0 / 1.169 GB, free: 1.766 MB / 0.8887 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.0004774/0.8236, allocations: 385 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.8237, allocations: 8.922 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.8237, allocations: 4.938 kB / 1.17 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.8238, allocations: 172.2 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.8239, allocations: 8.375 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.8239, allocations: 4.312 kB / 1.17 GB, free: 1.105 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.824, allocations: 46.23 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-06/0.824, allocations: 192 / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.824, allocations: 3.938 kB / 1.17 GB, free: 1.051 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.824, allocations: 4 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.104e-05/0.8241, allocations: 4 kB / 1.17 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.8242, allocations: 153.7 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.186e-05/0.8243, allocations: 38.55 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.972e-05/0.8244, allocations: 12.86 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.39e-06/0.8244, allocations: 0 / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.8245, allocations: 55.48 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 2.825e-06/0.8246, allocations: 3.984 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.000192/0.8247, allocations: 73.55 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.8248, allocations: 59.41 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.82e-05/0.8249, allocations: 109.8 kB / 1.17 GB, free: 456 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.8249, allocations: 29.7 kB / 1.17 GB, free: 420 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.8249, allocations: 80.14 kB / 1.17 GB, free: 336 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.825, allocations: 13.64 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.825, allocations: 25.7 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.8251, allocations: 310.8 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.995e-05/0.8252, allocations: 8 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.58e-05/0.8252, allocations: 39.42 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.543e-05/0.8253, allocations: 39.38 kB / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.8253, allocations: 0 / 1.171 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001067/0.8254, allocations: 73.67 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.8254, allocations: 11.94 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.8254, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.8254, allocations: 0 / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.544e-05/0.8255, allocations: 11.94 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.8255, allocations: 0 / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.78e-05/0.8255, allocations: 8 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.8256, allocations: 0 / 1.171 GB, free: 15.75 MB / 0.9044 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.081e-05/0.8256, allocations: 109.8 kB / 1.171 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.8256, allocations: 11.86 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.533e-05/0.8257, allocations: 19.84 kB / 1.171 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.8257, allocations: 3.938 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.8257, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.8257, allocations: 0 / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.8258, allocations: 157.6 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8258, allocations: 0 / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.69e-05/0.8259, allocations: 4 kB / 1.171 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.8259, allocations: 7.875 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.8259, allocations: 3.984 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.8259, allocations: 256 / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8259, allocations: 4 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001384/0.826, allocations: 85.12 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.8261, allocations: 85 kB / 1.171 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.8261, allocations: 3.938 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.8261, allocations: 4 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.8262, allocations: 0 / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.8262, allocations: 0 / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.218e-05/0.8262, allocations: 95.27 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8262, allocations: 0 / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002607/0.8265, allocations: 28 kB / 1.172 GB, free: 15.04 MB / 0.9044 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.0003484/0.8269, allocations: 166.2 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.827, allocations: 27.92 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.827, allocations: 8.125 kB / 1.172 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.021e-05/0.827, allocations: 19.94 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.8272, allocations: 2.234 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.8274, allocations: 144.2 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.8277, allocations: 0.6768 MB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.409e-05/0.8277, allocations: 7.438 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.8277, allocations: 3.938 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of Templates: time 0.002837/0.8306, allocations: 1.261 MB / 1.174 GB, free: 12.68 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches