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.00635/0.00635, allocations: 99.05 kB / 15.73 MB, free: 6.055 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.001174/0.001174, allocations: 201.9 kB / 16.68 MB, free: 5.977 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.444/2.444, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 61.12 kB / 0.9508 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3455, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002415/0.348, allocations: 1.223 MB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.349, allocations: 460.3 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.861e-05/0.3491, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.3491, allocations: 3.938 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.832e-05/0.3492, allocations: 4 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005192/0.3497, allocations: 111.6 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.36e-05/0.3498, allocations: 27.92 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/0.3498, allocations: 0 / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.358e-05/0.3498, allocations: 11.98 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.325e-05/0.3499, allocations: 11.92 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.3499, allocations: 4 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001945/0.3501, allocations: 107.8 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.3501, allocations: 0 / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.3502, allocations: 11.94 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.3503, allocations: 99.8 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3504, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3504, allocations: 3.938 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.3504, allocations: 4 kB / 1.09 GB, free: 15.44 MB / 0.8575 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.0004712/0.3509, allocations: 393 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.3509, allocations: 8.031 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.3509, allocations: 0.9375 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.351, allocations: 168.4 kB / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.3511, allocations: 384 / 1.09 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.3511, allocations: 8.375 kB / 1.09 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.3512, allocations: 34.25 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3512, allocations: 4.188 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3512, allocations: 7.922 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3512, allocations: 0 / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.009e-05/0.3513, allocations: 4 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.3514, allocations: 165.6 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.089e-05/0.3515, allocations: 30.52 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.3516, allocations: 16.94 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.297e-06/0.3516, allocations: 0 / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.3517, allocations: 55.41 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.3517, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002151/0.352, allocations: 77.55 kB / 1.091 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.352, allocations: 55.39 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.646e-05/0.3521, allocations: 105.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3521, allocations: 25.7 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.659e-05/0.3521, allocations: 88.14 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.3522, allocations: 15.83 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.3522, allocations: 17.72 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3523, allocations: 314.8 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.3524, allocations: 11.98 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.489e-05/0.3524, allocations: 31.42 kB / 1.091 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.33e-05/0.3525, allocations: 55.36 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3525, allocations: 3.938 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000101/0.3526, allocations: 73.47 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3526, allocations: 9.812 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3526, allocations: 256 / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3526, allocations: 4 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.3527, allocations: 12.09 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3527, allocations: 7.984 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.3528, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.3528, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 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.271e-05/0.3528, allocations: 109.8 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.519e-05/0.3529, allocations: 11.84 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.3529, allocations: 3.906 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.3529, allocations: 3.938 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3529, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.3529, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.353, allocations: 161.7 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3531, allocations: 0 / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-05/0.3531, allocations: 3.938 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3531, allocations: 3.938 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.3531, allocations: 4.234 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3531, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3531, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.3532, allocations: 89.09 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.3533, allocations: 81.11 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.3533, allocations: 7.938 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.155e-05/0.3533, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.3534, allocations: 0 / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.3534, allocations: 7.984 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.839e-05/0.3534, allocations: 79.28 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3534, allocations: 0 / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002412/0.3537, allocations: 35.98 kB / 1.092 GB, free: 12.71 MB / 0.8575 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.0003136/0.354, allocations: 180.7 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.3541, allocations: 27.98 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3541, allocations: 0 / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.551e-05/0.3542, allocations: 15.88 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.3543, allocations: 4 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002207/0.3545, allocations: 117.1 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.3547, allocations: 0.6807 MB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.836e-05/0.3548, allocations: 0 / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.722e-05/0.3548, allocations: 11.44 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of SimCode: time 2.5e-07/0.3548, allocations: 0 / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of Templates: time 0.003166/0.358, allocations: 1.07 MB / 1.094 GB, free: 10.57 MB / 0.8575 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