Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.005492/0.005492, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001189/0.001189, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.555/2.555, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 64.09 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9544/0.9557, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002055/0.9578, allocations: 1.231 MB / 1.209 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008853/0.9587, allocations: 466.4 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.9588, allocations: 4 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.9588, allocations: 3.938 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.398e-05/0.9588, allocations: 0 / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.9594, allocations: 115.6 kB / 1.209 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.694e-05/0.9594, allocations: 19.92 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.9595, allocations: 4 kB / 1.209 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.408e-05/0.9595, allocations: 7.938 kB / 1.209 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.372e-05/0.9596, allocations: 19.91 kB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.9596, allocations: 0 / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.9598, allocations: 103.9 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.9598, allocations: 4 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.856e-05/0.9598, allocations: 7.938 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.96, allocations: 103.7 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.96, allocations: 3.938 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.734e-06/0.96, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.96, allocations: 4 kB / 1.21 GB, free: 11.56 MB / 0.9356 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.0004621/0.9605, allocations: 385 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.9606, allocations: 8.031 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.9606, allocations: 8.938 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.9607, allocations: 168.3 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.9608, allocations: 8.312 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.9608, allocations: 384 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.9609, allocations: 38.25 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.9609, allocations: 4.188 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.9609, allocations: 3.938 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.9609, allocations: 0 / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.509e-05/0.961, allocations: 11.92 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.9611, allocations: 157.7 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/0.9612, allocations: 26.58 kB / 1.21 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.9612, allocations: 16.92 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.375e-06/0.9613, allocations: 0 / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.9614, allocations: 55.41 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 3.156e-06/0.9614, allocations: 0 / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.000196/0.9616, allocations: 77.55 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.9616, allocations: 55.41 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.9617, allocations: 105.8 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.9617, allocations: 25.7 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.9618, allocations: 84.14 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.9618, allocations: 21.61 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.9618, allocations: 17.72 kB / 1.211 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.9619, allocations: 314.8 kB / 1.211 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.181e-05/0.962, allocations: 15.98 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/0.962, allocations: 31.44 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.152e-05/0.9621, allocations: 43.36 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9621, allocations: 0 / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.299e-05/0.9622, allocations: 73.56 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.9622, allocations: 7.938 kB / 1.211 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.9622, allocations: 4 kB / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.9622, allocations: 0 / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-05/0.9623, allocations: 8 kB / 1.211 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.9623, allocations: 3.984 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.9624, allocations: 4.25 kB / 1.211 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.9624, allocations: 4 kB / 1.211 GB, free: 9.559 MB / 0.9356 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.468e-05/0.9625, allocations: 121.9 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.9625, allocations: 7.844 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.9625, allocations: 15.78 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.9625, allocations: 4 kB / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9625, allocations: 0 / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.9625, allocations: 0 / 1.212 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.9626, allocations: 161.6 kB / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.9626, allocations: 0 / 1.212 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.439e-05/0.9627, allocations: 4 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.9627, allocations: 3.938 kB / 1.212 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.9627, allocations: 4 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.9627, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.9627, allocations: 0 / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.9628, allocations: 85.11 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.9629, allocations: 81.02 kB / 1.212 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.9629, allocations: 3.938 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.148e-05/0.9629, allocations: 0 / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.9629, allocations: 12.2 kB / 1.212 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.9629, allocations: 4 kB / 1.212 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.622e-05/0.963, allocations: 83.28 kB / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.963, allocations: 0 / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002544/0.9633, allocations: 35.98 kB / 1.212 GB, free: 8.836 MB / 0.9356 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.0003204/0.9636, allocations: 154.5 kB / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.9637, allocations: 31.92 kB / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.9637, allocations: 3.938 kB / 1.212 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.9638, allocations: 12 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.9639, allocations: 7.984 kB / 1.212 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002236/0.9641, allocations: 116.9 kB / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.9643, allocations: 0.6768 MB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.462e-05/0.9644, allocations: 12.12 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.456e-05/0.9644, allocations: 7.438 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.9644, allocations: 0 / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of Templates: time 0.003239/0.9676, allocations: 1.086 MB / 1.214 GB, free: 6.691 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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