Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.007688/0.007689, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.002007/0.002007, allocations: 196.9 kB / 16.79 MB, free: 5.809 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.424/1.424, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002086/0.002086, allocations: 63.89 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6037/0.6058, allocations: 140.4 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.002076/0.6079, allocations: 1.288 MB / 0.9508 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008018/0.6087, allocations: 451 kB / 0.9513 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.6088, allocations: 7.938 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.6088, allocations: 1.844 kB / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.05e-05/0.6089, allocations: 0 / 0.9513 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.6093, allocations: 92.41 kB / 0.9514 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.235e-05/0.6094, allocations: 25.2 kB / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.6094, allocations: 1.594 kB / 0.9514 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.6094, allocations: 9.484 kB / 0.9514 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.856e-05/0.6095, allocations: 18.66 kB / 0.9514 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.6095, allocations: 5.375 kB / 0.9514 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.6097, allocations: 99.66 kB / 0.9515 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.6097, allocations: 13.33 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.549e-05/0.6097, allocations: 8.312 kB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.6099, allocations: 73.19 kB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.6099, allocations: 1.688 kB / 0.9516 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.42e-07/0.6099, allocations: 3.938 kB / 0.9516 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.6099, allocations: 0 / 0.9516 GB, free: 7.633 MB / 0.7169 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.0003884/0.6103, allocations: 380.4 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.6103, allocations: 9.781 kB / 0.952 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.386e-05/0.6104, allocations: 6.406 kB / 0.952 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.216e-05/0.6105, allocations: 174 kB / 0.9521 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.6105, allocations: 1.75 kB / 0.9521 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.6105, allocations: 7.172 kB / 0.9522 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.6107, allocations: 45.36 kB / 0.9522 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.6107, allocations: 192 / 0.9522 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.6107, allocations: 3.938 kB / 0.9522 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.6107, allocations: 1.344 kB / 0.9522 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.579e-05/0.6107, allocations: 7.938 kB / 0.9522 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.6109, allocations: 163.2 kB / 0.9524 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.279e-05/0.6109, allocations: 27.98 kB / 0.9524 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.611, allocations: 19.81 kB / 0.9524 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.611, allocations: 0 / 0.9524 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001432/0.6111, allocations: 53.03 kB / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.6111, allocations: 0 / 0.9525 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0001958/0.6113, allocations: 86.33 kB / 0.9525 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.6114, allocations: 56.78 kB / 0.9526 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.266e-05/0.6114, allocations: 104.7 kB / 0.9527 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.996e-06/0.6115, allocations: 27.08 kB / 0.9527 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.076e-05/0.6115, allocations: 84.14 kB / 0.9528 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.6115, allocations: 6.656 kB / 0.9528 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.6115, allocations: 23.2 kB / 0.9528 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.063e-05/0.6116, allocations: 316.2 kB / 0.9531 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.241e-05/0.6116, allocations: 13.22 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.203e-05/0.6116, allocations: 40.09 kB / 0.9532 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.616e-05/0.6117, allocations: 56.42 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6117, allocations: 4 kB / 0.9532 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.781e-05/0.6118, allocations: 75.67 kB / 0.9533 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6118, allocations: 10.22 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.6119, allocations: 1.219 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.6119, allocations: 1.344 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.979e-05/0.6119, allocations: 15.59 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.612, allocations: 5.656 kB / 0.9533 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.612, allocations: 2.656 kB / 0.9534 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.612, allocations: 11.17 kB / 0.9534 GB, free: 5.766 MB / 0.7169 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 5.343e-05/0.6121, allocations: 116 kB / 0.9535 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.6121, allocations: 5.656 kB / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.6121, allocations: 5.094 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.6121, allocations: 1.594 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6121, allocations: 0 / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.6121, allocations: 0 / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.395e-05/0.6122, allocations: 163.6 kB / 0.9536 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6122, allocations: 3.984 kB / 0.9536 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.6123, allocations: 7.188 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6123, allocations: 11.88 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.6123, allocations: 1.344 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.6123, allocations: 1.094 kB / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6123, allocations: 0 / 0.9537 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.6124, allocations: 94.36 kB / 0.9538 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.6124, allocations: 78.7 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.6125, allocations: 3.938 kB / 0.9538 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.19e-05/0.6125, allocations: 5.719 kB / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.6125, allocations: 5.375 kB / 0.9538 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.6125, allocations: 5.484 kB / 0.9538 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.108e-05/0.6126, allocations: 80.06 kB / 0.9539 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6126, allocations: 0 / 0.9539 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002619/0.6128, allocations: 35.78 kB / 0.954 GB, free: 5.133 MB / 0.7169 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.0003086/0.6131, allocations: 167.4 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000107/0.6133, allocations: 35.64 kB / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.6133, allocations: 0 / 0.9542 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.191e-05/0.6133, allocations: 18.72 kB / 0.9542 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.6135, allocations: 1.344 kB / 0.9542 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002173/0.6137, allocations: 150.2 kB / 0.9543 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.917e-05/0.6138, allocations: 0.6821 MB / 0.955 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.6138, allocations: 10.03 kB / 0.955 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6138, allocations: 0 / 0.955 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of Templates: time 0.002755/0.6166, allocations: 1.273 MB / 0.9562 GB, free: 3.473 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit2D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches