Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.001244/0.001244, 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.001284/0.001284, allocations: 191.4 kB / 16.25 MB, free: 6.637 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.48/1.48, 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 9.1.3-maint.9.1.x/package.mo): time 2.558/2.558, allocations: 390.2 MB / 0.6643 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 56.14 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8104/0.8118, allocations: 140.4 MB / 0.9491 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002138/0.814, allocations: 1.29 MB / 0.9503 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000829/0.8149, allocations: 462.5 kB / 0.9508 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.899e-05/0.8149, allocations: 0 / 0.9508 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.8149, allocations: 7.938 kB / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.193e-05/0.815, allocations: 0 / 0.9508 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005195/0.8155, allocations: 95.12 kB / 0.9509 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.765e-05/0.8156, allocations: 22.7 kB / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.8156, allocations: 1.438 kB / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.528e-05/0.8157, allocations: 16.2 kB / 0.9509 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.254e-05/0.8157, allocations: 11.98 kB / 0.9509 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.8157, allocations: 1.406 kB / 0.9509 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001977/0.8159, allocations: 107.7 kB / 0.951 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.8159, allocations: 1.156 kB / 0.951 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.581e-05/0.816, allocations: 16.44 kB / 0.9511 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001769/0.8162, allocations: 94.98 kB / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.8162, allocations: 0 / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8162, allocations: 1.188 kB / 0.9511 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.8162, allocations: 0 / 0.9511 GB, free: 7.609 MB / 0.7169 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.0004386/0.8166, allocations: 380.8 kB / 0.9515 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.8167, allocations: 9.094 kB / 0.9515 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.8167, allocations: 7.5 kB / 0.9515 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.131e-05/0.8168, allocations: 169.8 kB / 0.9517 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.8168, allocations: 5.625 kB / 0.9517 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.8169, allocations: 7.125 kB / 0.9517 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.817, allocations: 43.62 kB / 0.9517 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.817, allocations: 192 / 0.9517 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.817, allocations: 7.922 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.817, allocations: 1.281 kB / 0.9517 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.307e-05/0.817, allocations: 10.64 kB / 0.9518 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.8172, allocations: 159.2 kB / 0.9519 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.809e-05/0.8172, allocations: 26.83 kB / 0.9519 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.8173, allocations: 18.44 kB / 0.952 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.8173, allocations: 0 / 0.952 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.8174, allocations: 55.59 kB / 0.952 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.8174, allocations: 1.375 kB / 0.952 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002017/0.8176, allocations: 74.27 kB / 0.9521 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.8177, allocations: 56.78 kB / 0.9521 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.054e-05/0.8177, allocations: 112.7 kB / 0.9522 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.659e-06/0.8178, allocations: 27.08 kB / 0.9523 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.8178, allocations: 85.52 kB / 0.9523 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.8178, allocations: 13.25 kB / 0.9524 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.8178, allocations: 19.22 kB / 0.9524 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.343e-05/0.8179, allocations: 316.2 kB / 0.9527 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.8179, allocations: 8.109 kB / 0.9527 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.746e-05/0.8179, allocations: 38.25 kB / 0.9527 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.91e-05/0.818, allocations: 49.11 kB / 0.9528 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.818, allocations: 0 / 0.9528 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.181e-05/0.8181, allocations: 69.03 kB / 0.9528 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.8181, allocations: 9.156 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.8181, allocations: 1.062 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.8181, allocations: 1.344 kB / 0.9528 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.346e-05/0.8182, allocations: 6.469 kB / 0.9529 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.8182, allocations: 6.391 kB / 0.9529 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.8183, allocations: 5.219 kB / 0.9529 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.8183, allocations: 2.531 kB / 0.9529 GB, free: 5.77 MB / 0.7169 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 5.083e-05/0.8183, allocations: 116.2 kB / 0.953 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.8183, allocations: 10.56 kB / 0.953 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.153e-05/0.8184, allocations: 3.906 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.8184, allocations: 1.281 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.8184, allocations: 0 / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.8184, allocations: 1.281 kB / 0.953 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.297e-05/0.8185, allocations: 161.5 kB / 0.9531 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.8185, allocations: 1.125 kB / 0.9531 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.8185, allocations: 5.312 kB / 0.9532 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.8185, allocations: 5.281 kB / 0.9532 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.8185, allocations: 240 / 0.9532 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.8185, allocations: 9.656 kB / 0.9532 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.8185, allocations: 0 / 0.9532 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.8186, allocations: 94.44 kB / 0.9533 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.694e-05/0.8187, allocations: 78.48 kB / 0.9533 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.8187, allocations: 8.875 kB / 0.9533 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.196e-05/0.8187, allocations: 1.344 kB / 0.9533 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.385e-05/0.8187, allocations: 5.453 kB / 0.9533 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.8187, allocations: 1.531 kB / 0.9533 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.492e-05/0.8188, allocations: 87.16 kB / 0.9534 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8188, allocations: 1.281 kB / 0.9534 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002407/0.819, allocations: 35.89 kB / 0.9535 GB, free: 5.121 MB / 0.7169 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.00031/0.8193, allocations: 151.7 kB / 0.9536 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.8195, allocations: 34.61 kB / 0.9536 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8195, allocations: 0 / 0.9536 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.34e-05/0.8195, allocations: 7.281 kB / 0.9537 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.8197, allocations: 15.42 kB / 0.9537 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002026/0.8199, allocations: 116.6 kB / 0.9538 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.545e-05/0.82, allocations: 0.6818 MB / 0.9544 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.82, allocations: 6.906 kB / 0.9544 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.369e-05/0.82, allocations: 8.906 kB / 0.9545 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of SimCode: time 8.11e-07/0.82, allocations: 0 / 0.9545 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of Templates: time 0.0032/0.8232, allocations: 1.079 MB / 0.9555 GB, free: 3.582 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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