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.0008486/0.0008487, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 185.5 kB / 16.92 MB, free: 6.703 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.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.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.606/2.606, allocations: 437.8 MB / 0.7128 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003276/0.0003277, allocations: 8 kB / 0.8735 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6968/0.6971, allocations: 153.8 MB / 1.024 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001178/0.6983, allocations: 0.9488 MB / 1.025 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.6992, allocations: 462.6 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.6993, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.6993, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.283e-05/0.6993, allocations: 0 / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.6998, allocations: 99.7 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.101e-05/0.6999, allocations: 12 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.6999, allocations: 19.91 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.941e-05/0.6999, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.7, allocations: 15.92 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.7001, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.7003, allocations: 99.84 kB / 1.025 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.7003, allocations: 7.984 kB / 1.025 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.7003, allocations: 33.64 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.7005, allocations: 67.89 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.7005, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.066e-06/0.7005, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.7005, allocations: 7.938 kB / 1.025 GB, free: 14.16 MB / 0.7794 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.000432/0.7009, allocations: 379.2 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.701, allocations: 11.97 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.701, allocations: 8.844 kB / 1.026 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.7011, allocations: 164.3 kB / 1.026 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.7012, allocations: 8.359 kB / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.7012, allocations: 384 / 1.026 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.651e-05/0.7013, allocations: 42.19 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.7013, allocations: 4.188 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.7013, allocations: 7.938 kB / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.7013, allocations: 0 / 1.026 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.675e-05/0.7014, allocations: 4 kB / 1.026 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.7015, allocations: 157.7 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.174e-05/0.7016, allocations: 26.58 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.262e-05/0.7016, allocations: 12.94 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.353e-06/0.7016, allocations: 0 / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001449/0.7018, allocations: 63.34 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.7018, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001967/0.702, allocations: 77.5 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.7021, allocations: 55.41 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/0.7021, allocations: 105.8 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.7022, allocations: 25.7 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.7022, allocations: 88.14 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.7022, allocations: 11.84 kB / 1.027 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.7023, allocations: 17.7 kB / 1.027 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.7024, allocations: 314.8 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.936e-05/0.7024, allocations: 4 kB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.149e-05/0.7025, allocations: 43.34 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.225e-05/0.7025, allocations: 47.38 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.7025, allocations: 0 / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001044/0.7026, allocations: 69.61 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.7027, allocations: 9.969 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.7027, allocations: 4 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.7027, allocations: 0 / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.5e-05/0.7028, allocations: 8.094 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.7028, allocations: 7.938 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.7028, allocations: 3.906 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.7028, allocations: 4 kB / 1.027 GB, free: 12.15 MB / 0.7794 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 8.027e-05/0.7029, allocations: 117.8 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.747e-05/0.7029, allocations: 3.938 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.7029, allocations: 3.906 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.703, allocations: 4 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.703, allocations: 0 / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.703, allocations: 4 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.7031, allocations: 161.8 kB / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.7031, allocations: 0 / 1.027 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.607e-05/0.7031, allocations: 8 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.121e-05/0.7031, allocations: 7.922 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.7031, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.7031, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7032, allocations: 0 / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.7033, allocations: 92.95 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.7033, allocations: 85.11 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.7033, allocations: 3.938 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.278e-05/0.7034, allocations: 4 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.7034, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-06/0.7034, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.483e-05/0.7035, allocations: 83.27 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7035, allocations: 4 kB / 1.028 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002395/0.7037, allocations: 28 kB / 1.028 GB, free: 11.45 MB / 0.7794 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.0003198/0.704, allocations: 185.7 kB / 1.028 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.625e-05/0.7041, allocations: 27.92 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7042, allocations: 0 / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.7042, allocations: 8 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.7043, allocations: 8 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002364/0.7046, allocations: 146.2 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.7049, allocations: 0.6809 MB / 1.029 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.705, allocations: 7.438 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.705, allocations: 3.938 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.002637/0.7076, allocations: 1.249 MB / 1.03 GB, free: 9.09 MB / 0.7794 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