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.001106/0.001106, allocations: 117 kB / 16.42 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.001146/0.001146, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.45/2.45, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.89 kB / 1.019 GB, free: 9.457 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6935/0.6949, allocations: 151.6 MB / 1.167 GB, free: 3.879 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002065/0.697, allocations: 1.234 MB / 1.168 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008155/0.6978, allocations: 468.9 kB / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.446e-05/0.6978, allocations: 0 / 1.169 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.6979, allocations: 3.938 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.102e-05/0.6979, allocations: 0 / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.6984, allocations: 115.6 kB / 1.169 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.937e-05/0.6985, allocations: 19.98 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.6985, allocations: 0 / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.096e-05/0.6985, allocations: 11.92 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.898e-05/0.6986, allocations: 15.86 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.6986, allocations: 4 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.6988, allocations: 103.9 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.6988, allocations: 7.984 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.6988, allocations: 11.94 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.699, allocations: 96.3 kB / 1.169 GB, free: 1.801 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.699, allocations: 3.938 kB / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.082e-06/0.699, allocations: 0 / 1.169 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.699, allocations: 0 / 1.169 GB, free: 1.797 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.0004194/0.6994, allocations: 388.8 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.6995, allocations: 16.92 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.6995, allocations: 0.9375 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.6996, allocations: 164.4 kB / 1.17 GB, free: 1.145 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.6997, allocations: 8.312 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/0.6997, allocations: 4.312 kB / 1.17 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.359e-05/0.6998, allocations: 42.23 kB / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.6998, allocations: 192 / 1.17 GB, free: 1.086 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.6998, allocations: 3.938 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.6998, allocations: 0 / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.251e-05/0.6998, allocations: 8 kB / 1.17 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.7, allocations: 165.6 kB / 1.17 GB, free: 0.8633 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.055e-05/0.7001, allocations: 30.61 kB / 1.17 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.7001, allocations: 12.86 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.7002, allocations: 0 / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001127/0.7003, allocations: 63.47 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.7003, allocations: 0 / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001874/0.7005, allocations: 73.55 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.7005, allocations: 51.41 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/0.7006, allocations: 105.8 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.7006, allocations: 33.7 kB / 1.17 GB, free: 452 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.072e-05/0.7006, allocations: 80.14 kB / 1.17 GB, free: 368 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.7007, allocations: 11.94 kB / 1.171 GB, free: 356 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.7007, allocations: 21.72 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.7008, allocations: 318.8 kB / 1.171 GB, free: 0 / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.239e-05/0.7008, allocations: 8.047 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.7009, allocations: 31.38 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.63e-05/0.7009, allocations: 47.62 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.7009, allocations: 0 / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001011/0.7011, allocations: 77.52 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.7011, allocations: 10.5 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.7011, allocations: 7.922 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.7011, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/0.7012, allocations: 8 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.7012, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.7012, allocations: 7.938 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.7012, allocations: 8.094 kB / 1.171 GB, free: 15.77 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 6.547e-05/0.7013, allocations: 109.8 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.7013, allocations: 3.953 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.7013, allocations: 19.83 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7013, allocations: 3.938 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7014, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.7014, allocations: 77.11 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.7014, allocations: 3.938 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.123e-05/0.7014, allocations: 0 / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.7015, allocations: 8 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001292/0.7016, allocations: 140.9 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001561/0.7018, allocations: 234.7 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.376e-05/0.7018, allocations: 16.27 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.351e-05/0.7018, allocations: 83.27 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of Backend: time 3.11e-07/0.7018, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005079/0.7024, allocations: 156.5 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003102/0.7027, allocations: 0.5538 MB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of Templates: time 0.003277/0.706, allocations: 1.113 MB / 1.173 GB, free: 13.16 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) "" Variables in the reference:time,y Variables in the result:A,B,C,D,seed,t0,time,y