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.001614/0.001614, allocations: 103.5 kB / 15.98 MB, free: 6.352 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.001766/0.001766, allocations: 195.6 kB / 16.91 MB, free: 6.184 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.42/1.42, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.664/2.664, allocations: 469.8 MB / 0.7427 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 60.31 kB / 0.9087 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3067, allocations: 159.1 MB / 1.064 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002534/0.3093, allocations: 1.295 MB / 1.065 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008999/0.3102, allocations: 462.5 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.3103, allocations: 4 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.3103, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.05e-05/0.3104, allocations: 0 / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005208/0.3109, allocations: 99.7 kB / 1.066 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.494e-05/0.311, allocations: 15.94 kB / 1.066 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.311, allocations: 11.98 kB / 1.066 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.418e-05/0.311, allocations: 8 kB / 1.066 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.054e-05/0.3111, allocations: 7.922 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.3111, allocations: 4 kB / 1.066 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.3113, allocations: 99.84 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.3113, allocations: 11.97 kB / 1.066 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.3114, allocations: 7.938 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.3115, allocations: 75.84 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3115, allocations: 0 / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3116, allocations: 0 / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.3116, allocations: 0 / 1.066 GB, free: 13.07 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.0005546/0.3121, allocations: 385.4 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.3122, allocations: 16.02 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.3122, allocations: 0.9375 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.3124, allocations: 164.4 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.3124, allocations: 4.375 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.3124, allocations: 4.312 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.3125, allocations: 38.25 kB / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.3125, allocations: 192 / 1.067 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.3126, allocations: 7.938 kB / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.3126, allocations: 0 / 1.067 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.478e-05/0.3126, allocations: 11.98 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001751/0.3128, allocations: 161.6 kB / 1.067 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.812e-05/0.3129, allocations: 30.61 kB / 1.067 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.801e-05/0.313, allocations: 20.78 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.313, allocations: 0 / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.3131, allocations: 63.48 kB / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3131, allocations: 0 / 1.067 GB, free: 12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002153/0.3134, allocations: 65.62 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.3134, allocations: 63.33 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.3135, allocations: 101.9 kB / 1.067 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.3136, allocations: 41.58 kB / 1.067 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.3136, allocations: 84.12 kB / 1.067 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.3136, allocations: 11.84 kB / 1.067 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.137e-05/0.3137, allocations: 25.72 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3138, allocations: 314.8 kB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.3139, allocations: 4 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.294e-05/0.3139, allocations: 35.42 kB / 1.068 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.848e-05/0.314, allocations: 47.38 kB / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.314, allocations: 0 / 1.068 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001076/0.3141, allocations: 69.53 kB / 1.068 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3141, allocations: 11.94 kB / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3141, allocations: 0 / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3142, allocations: 0 / 1.068 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/0.3142, allocations: 15.92 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.3143, allocations: 4.094 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.646e-05/0.3143, allocations: 4 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.3143, allocations: 0 / 1.068 GB, free: 11.04 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 0.0001063/0.3144, allocations: 115.6 kB / 1.068 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.3144, allocations: 7.844 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.3145, allocations: 7.906 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3145, allocations: 0 / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3145, allocations: 3.984 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3145, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.3146, allocations: 157.7 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3146, allocations: 0 / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.3147, allocations: 4 kB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3147, allocations: 3.938 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3147, allocations: 4 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3147, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3147, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.3148, allocations: 89.05 kB / 1.068 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.3149, allocations: 85.02 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3149, allocations: 3.938 kB / 1.068 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.506e-05/0.3149, allocations: 8.266 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.508e-05/0.315, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.315, allocations: 3.938 kB / 1.068 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5e-05/0.315, allocations: 91.53 kB / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.315, allocations: 0 / 1.068 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002476/0.3153, allocations: 27.98 kB / 1.068 GB, free: 10.34 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.0003561/0.3157, allocations: 169.4 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001085/0.3158, allocations: 27.92 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3158, allocations: 0 / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.3158, allocations: 19.98 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.316, allocations: 1.719 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.3163, allocations: 142.9 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.3166, allocations: 0.6768 MB / 1.069 GB, free: 9.258 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.3166, allocations: 11.44 kB / 1.069 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.3166, allocations: 0 / 1.069 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of Templates: time 0.003132/0.3197, allocations: 1.257 MB / 1.071 GB, free: 7.988 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