Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_11_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.001529/0.001529, allocations: 104.4 kB / 16.27 MB, free: 6.414 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.001541/0.001541, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.402/1.402, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.763/2.763, allocations: 469.8 MB / 0.743 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 72.48 kB / 0.9092 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3199, allocations: 159.2 MB / 1.065 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002644/0.3226, allocations: 1.223 MB / 1.066 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009375/0.3236, allocations: 462.5 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.3236, allocations: 0 / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.848e-05/0.3237, allocations: 0 / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.326e-05/0.3237, allocations: 3.938 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004957/0.3242, allocations: 111.6 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.995e-05/0.3243, allocations: 23.86 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.633e-05/0.3243, allocations: 4 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.103e-05/0.3244, allocations: 4 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.3244, allocations: 19.92 kB / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.3244, allocations: 0 / 1.066 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.3246, allocations: 103.8 kB / 1.067 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.3247, allocations: 11.98 kB / 1.067 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.3247, allocations: 3.938 kB / 1.067 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000183/0.3249, allocations: 99.8 kB / 1.067 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3249, allocations: 3.938 kB / 1.067 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3249, allocations: 0 / 1.067 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.325, allocations: 0 / 1.067 GB, free: 12.72 MB / 0.8419 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.0005883/0.3256, allocations: 397.3 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.3256, allocations: 12.03 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.3256, allocations: 0.9375 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.3258, allocations: 164.4 kB / 1.067 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.3259, allocations: 8.312 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.3259, allocations: 384 / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.326, allocations: 46.23 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.326, allocations: 192 / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.326, allocations: 3.938 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.326, allocations: 0 / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.518e-05/0.3261, allocations: 11.98 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.3263, allocations: 157.6 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.419e-05/0.3264, allocations: 30.52 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.3264, allocations: 16.94 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.3264, allocations: 0 / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.3266, allocations: 59.41 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.3266, allocations: 0 / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002088/0.3268, allocations: 69.61 kB / 1.068 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.3269, allocations: 63.34 kB / 1.068 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.152e-05/0.327, allocations: 101.8 kB / 1.068 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.327, allocations: 29.7 kB / 1.068 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.3271, allocations: 80.14 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.3271, allocations: 15.83 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.081e-05/0.3271, allocations: 25.72 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3273, allocations: 310.8 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.3273, allocations: 11.98 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/0.3274, allocations: 31.44 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.684e-05/0.3275, allocations: 47.36 kB / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3275, allocations: 0 / 1.068 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001099/0.3276, allocations: 69.53 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3276, allocations: 15.88 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3276, allocations: 0 / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3276, allocations: 0 / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.616e-05/0.3277, allocations: 11.94 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.3277, allocations: 3.984 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.3278, allocations: 8 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3278, allocations: 4.094 kB / 1.068 GB, free: 10.69 MB / 0.8419 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 9.372e-05/0.3279, allocations: 112 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.3279, allocations: 7.844 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.867e-05/0.3279, allocations: 15.84 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.3279, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3279, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3279, allocations: 0 / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.3281, allocations: 161.9 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3281, allocations: 0 / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.557e-05/0.3281, allocations: 8 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3281, allocations: 3.938 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.3281, allocations: 3.984 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3281, allocations: 0 / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3281, allocations: 0 / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.3283, allocations: 89.05 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.3284, allocations: 81.02 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.3284, allocations: 4.188 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.105e-05/0.3284, allocations: 8 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.3284, allocations: 7.984 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.3284, allocations: 0 / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.3285, allocations: 87.28 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3285, allocations: 0 / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002471/0.3288, allocations: 31.98 kB / 1.069 GB, free: 9.984 MB / 0.8419 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.0003668/0.3291, allocations: 165.8 kB / 1.069 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.3293, allocations: 27.92 kB / 1.069 GB, free: 9.801 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3293, allocations: 3.938 kB / 1.069 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.408e-05/0.3293, allocations: 19.94 kB / 1.069 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.3295, allocations: 3.984 kB / 1.069 GB, free: 9.773 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.3297, allocations: 135 kB / 1.069 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.3302, allocations: 0.6846 MB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.937e-05/0.3302, allocations: 7.438 kB / 1.07 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.3302, allocations: 0 / 1.07 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of Templates: time 0.003282/0.3335, allocations: 1.253 MB / 1.071 GB, free: 7.637 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches