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.001155/0.001155, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001663/0.001663, allocations: 196.4 kB / 16.14 MB, free: 6.711 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.623/2.623, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 59.91 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8075, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.003262/0.8108, allocations: 1.295 MB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.812, allocations: 470.6 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.865e-05/0.8121, allocations: 3.938 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.8121, allocations: 0 / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.623e-05/0.8122, allocations: 0 / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006928/0.8129, allocations: 99.78 kB / 1.018 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.901e-05/0.813, allocations: 19.86 kB / 1.018 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.146e-05/0.8131, allocations: 0 / 1.018 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.411e-05/0.8131, allocations: 12 kB / 1.018 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.775e-05/0.8131, allocations: 7.922 kB / 1.018 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.8132, allocations: 4 kB / 1.018 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.8135, allocations: 107.8 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.644e-05/0.8135, allocations: 4 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.459e-05/0.8136, allocations: 11.94 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.8139, allocations: 95.8 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8139, allocations: 4 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.755e-06/0.8139, allocations: 0 / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.8139, allocations: 3.938 kB / 1.019 GB, free: 0.6289 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.0007257/0.8147, allocations: 383.1 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.8147, allocations: 12.03 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.615e-05/0.8148, allocations: 4.875 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.815, allocations: 164.3 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.3e-05/0.815, allocations: 16.36 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.815, allocations: 4.375 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.8152, allocations: 42.19 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.8152, allocations: 192 / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.8152, allocations: 3.938 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.8152, allocations: 0 / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.575e-05/0.8153, allocations: 4 kB / 1.019 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.8155, allocations: 161.7 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.8156, allocations: 22.58 kB / 1.019 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/0.8156, allocations: 24.94 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.8157, allocations: 3.938 kB / 1.019 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.8159, allocations: 55.31 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.8159, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002444/0.8161, allocations: 69.61 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.8162, allocations: 55.41 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.627e-05/0.8163, allocations: 105.8 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.8163, allocations: 33.64 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.843e-05/0.8164, allocations: 84.14 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.8164, allocations: 3.906 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.455e-05/0.8165, allocations: 25.7 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.8166, allocations: 314.8 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.8166, allocations: 7.984 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.853e-05/0.8167, allocations: 39.38 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.385e-05/0.8168, allocations: 47.55 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.8168, allocations: 0 / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001116/0.8169, allocations: 73.52 kB / 1.02 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.8169, allocations: 17.12 kB / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.817, allocations: 0 / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.817, allocations: 0 / 1.02 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.806e-05/0.8171, allocations: 8 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.8171, allocations: 3.938 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.063e-05/0.8171, allocations: 4 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.113e-05/0.8171, allocations: 3.984 kB / 1.02 GB, free: 14.61 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.962e-05/0.8172, allocations: 113.8 kB / 1.02 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.912e-05/0.8172, allocations: 3.938 kB / 1.02 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.8173, allocations: 11.91 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.8173, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.8173, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.8173, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.8174, allocations: 165.5 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.8175, allocations: 3.938 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.8175, allocations: 8.234 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.8175, allocations: 3.938 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.8175, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8175, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8175, allocations: 0 / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.8177, allocations: 93.05 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.8177, allocations: 81.11 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.8177, allocations: 3.938 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.341e-05/0.8178, allocations: 4 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.8178, allocations: 0 / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.8178, allocations: 3.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.444e-05/0.8179, allocations: 83.28 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8179, allocations: 4 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002885/0.8182, allocations: 35.98 kB / 1.021 GB, free: 13.9 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.0004442/0.8186, allocations: 171.4 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001168/0.8188, allocations: 27.92 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8188, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.86e-05/0.8188, allocations: 12.19 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.819, allocations: 11.94 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002972/0.8193, allocations: 118.6 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.8195, allocations: 0.6847 MB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.471e-05/0.8195, allocations: 4 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.8196, allocations: 7.438 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of SimCode: time 5.11e-07/0.8196, allocations: 4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.003722/0.8233, allocations: 1.048 MB / 1.023 GB, free: 11.77 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