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.001527/0.001527, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002218/0.002217, allocations: 192.8 kB / 16.25 MB, free: 6.641 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.418/1.418, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.566/2.566, allocations: 437 MB / 0.71 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 67.89 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7694/0.7707, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002392/0.7732, allocations: 1.295 MB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.7741, allocations: 454.5 kB / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.746e-05/0.7741, allocations: 0 / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.062e-05/0.7742, allocations: 0 / 1.018 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.221e-05/0.7742, allocations: 3.938 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.7748, allocations: 95.78 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.492e-05/0.7749, allocations: 19.92 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.7749, allocations: 11.94 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.775, allocations: 4 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.377e-05/0.775, allocations: 15.92 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.775, allocations: 0 / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.7752, allocations: 99.89 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.221e-05/0.7753, allocations: 11.98 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.7753, allocations: 11.92 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.7755, allocations: 103.8 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.7755, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7755, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.7755, allocations: 0 / 1.019 GB, free: 0.5977 MB / 0.7637 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.0005272/0.7761, allocations: 387.1 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.7761, allocations: 12.03 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.7762, allocations: 4.844 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.7763, allocations: 172.3 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.7763, allocations: 384 / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.7764, allocations: 384 / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001071/0.7765, allocations: 42.25 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.7765, allocations: 192 / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.7765, allocations: 7.938 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.7765, allocations: 0 / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.048e-05/0.7766, allocations: 15.86 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.7767, allocations: 153.7 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.644e-05/0.7768, allocations: 34.59 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.726e-05/0.7769, allocations: 16.86 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-06/0.7769, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.777, allocations: 59.48 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.625e-06/0.777, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002001/0.7772, allocations: 73.47 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.7773, allocations: 55.41 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.7774, allocations: 101.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.7774, allocations: 29.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.7774, allocations: 88.12 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.052e-05/0.7775, allocations: 7.906 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.7775, allocations: 21.72 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.7776, allocations: 318.8 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.009e-05/0.7777, allocations: 4 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.7e-05/0.7777, allocations: 31.44 kB / 1.02 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.337e-05/0.7778, allocations: 51.36 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7778, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.933e-05/0.7779, allocations: 73.47 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.7779, allocations: 11.94 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.7779, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.7779, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.691e-05/0.778, allocations: 11.98 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.778, allocations: 4.094 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.604e-05/0.7781, allocations: 7.938 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.7781, allocations: 0 / 1.021 GB, free: 14.58 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 0.0001005/0.7782, allocations: 117.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.163e-05/0.7782, allocations: 3.938 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.828e-05/0.7782, allocations: 8.156 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.7782, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.7783, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7783, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.7784, allocations: 165.6 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7784, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.718e-05/0.7784, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.7784, allocations: 3.938 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.7784, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7785, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.7785, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.7786, allocations: 85.25 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.7786, allocations: 81.11 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.7787, allocations: 11.92 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.395e-05/0.7787, allocations: 3.984 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.7787, allocations: 11.92 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.7788, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.823e-05/0.7788, allocations: 83.28 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7788, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002521/0.7791, allocations: 35.98 kB / 1.021 GB, free: 13.87 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.0005155/0.7796, allocations: 167.6 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001628/0.7798, allocations: 35.92 kB / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.7798, allocations: 0 / 1.021 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.326e-05/0.7798, allocations: 15.92 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.78, allocations: 5.406 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003578/0.7804, allocations: 121.1 kB / 1.021 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.7807, allocations: 0.6768 MB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.758e-05/0.7807, allocations: 4 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.896e-05/0.7808, allocations: 7.438 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7808, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of Templates: time 0.00375/0.7845, allocations: 1.086 MB / 1.023 GB, free: 11.71 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/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