Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 107.5 kB / 16.41 MB, free: 6.508 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.001304/0.001304, allocations: 187 kB / 17.34 MB, free: 5.742 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.314/1.314, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.431/2.431, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 64.12 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7944/0.7957, allocations: 151.7 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002362/0.7981, allocations: 1.214 MB / 1.168 GB, free: 2.613 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008989/0.799, allocations: 460.9 kB / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.7991, allocations: 0 / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.652e-05/0.7991, allocations: 0 / 1.169 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.292e-05/0.7992, allocations: 7.938 kB / 1.169 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000589/0.7998, allocations: 115.6 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.288e-05/0.7999, allocations: 19.92 kB / 1.169 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/0.7999, allocations: 4 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.366e-05/0.8, allocations: 7.938 kB / 1.169 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.3e-05/0.8, allocations: 15.92 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.8, allocations: 0 / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.8002, allocations: 115.8 kB / 1.169 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.8002, allocations: 3.984 kB / 1.169 GB, free: 1.879 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.149e-05/0.8003, allocations: 15.94 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001756/0.8005, allocations: 95.8 kB / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.8005, allocations: 0 / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8005, allocations: 0 / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.8005, allocations: 0 / 1.169 GB, free: 1.77 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004717/0.801, allocations: 385 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.801, allocations: 8.922 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.801, allocations: 4.938 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.978e-05/0.8012, allocations: 172.3 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/0.8012, allocations: 4.375 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.8012, allocations: 4.375 kB / 1.17 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.8013, allocations: 46.19 kB / 1.17 GB, free: 1.062 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.8013, allocations: 4.172 kB / 1.17 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.8014, allocations: 3.938 kB / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.8014, allocations: 0 / 1.17 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.48e-05/0.8014, allocations: 7.984 kB / 1.17 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001499/0.8016, allocations: 161.6 kB / 1.17 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.902e-05/0.8016, allocations: 30.58 kB / 1.17 GB, free: 0.8008 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.8017, allocations: 16.94 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.8017, allocations: 4 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.8019, allocations: 55.34 kB / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.8019, allocations: 0 / 1.17 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of matching and sorting (n=5): time 0.0002088/0.8021, allocations: 77.61 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.8021, allocations: 59.41 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.992e-05/0.8022, allocations: 101.8 kB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.8022, allocations: 25.7 kB / 1.17 GB, free: 428 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.937e-05/0.8023, allocations: 92.08 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.8023, allocations: 9.641 kB / 1.17 GB, free: 324 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.8023, allocations: 25.7 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.8025, allocations: 318.8 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.8025, allocations: 7.984 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/0.8025, allocations: 40.3 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.765e-05/0.8026, allocations: 56.22 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8026, allocations: 0 / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001036/0.8027, allocations: 77.56 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8028, allocations: 7.938 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.8028, allocations: 4 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.8028, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.733e-05/0.8029, allocations: 15.98 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.8029, allocations: 0 / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.064e-05/0.8029, allocations: 7.906 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.8029, allocations: 4 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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.736e-05/0.803, allocations: 121.8 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.803, allocations: 11.88 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.8031, allocations: 3.562 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.8031, allocations: 0 / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8031, allocations: 0 / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.8031, allocations: 4 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.8032, allocations: 162.1 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8032, allocations: 0 / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.8032, allocations: 4 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.8032, allocations: 7.938 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.8033, allocations: 4 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.8033, allocations: 0 / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.8033, allocations: 0 / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.8034, allocations: 97.02 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.8035, allocations: 77.11 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.8035, allocations: 3.938 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.229e-05/0.8035, allocations: 0 / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.8035, allocations: 15.92 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.8036, allocations: 4.047 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.717e-05/0.8036, allocations: 79.28 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8036, allocations: 0 / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002512/0.8039, allocations: 39.98 kB / 1.172 GB, free: 14.98 MB / 0.9044 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 (5): * Single equations (assignments): 3 * 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.0003407/0.8042, allocations: 166.3 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001207/0.8043, allocations: 39.92 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8043, allocations: 0 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.074e-05/0.8044, allocations: 12 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001364/0.8045, allocations: 4 kB / 1.172 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.8048, allocations: 146.5 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.8051, allocations: 0.6845 MB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.8051, allocations: 7.438 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.8051, allocations: 4.25 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of Templates: time 0.003087/0.8082, allocations: 1.285 MB / 1.174 GB, free: 12.59 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches