Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 106.6 kB / 15.99 MB, free: 6.348 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.001045/0.001045, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.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.259/2.259, allocations: 390.2 MB / 0.665 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 62.7 kB / 0.8127 GB, free: 33.38 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.274, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002771/0.2768, allocations: 1.278 MB / 0.951 GB, free: 7.961 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008529/0.2776, allocations: 444.7 kB / 0.9514 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.2777, allocations: 0 / 0.9514 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.2777, allocations: 0 / 0.9514 GB, free: 7.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.699e-05/0.2778, allocations: 7.984 kB / 0.9514 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000676/0.2785, allocations: 87.8 kB / 0.9515 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.576e-05/0.2786, allocations: 19.92 kB / 0.9515 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.2786, allocations: 7.984 kB / 0.9515 GB, free: 7.406 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.806e-05/0.2786, allocations: 11.92 kB / 0.9516 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.921e-05/0.2787, allocations: 0 / 0.9516 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.2787, allocations: 4 kB / 0.9516 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.2789, allocations: 103.9 kB / 0.9517 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.279, allocations: 4 kB / 0.9517 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.279, allocations: 15.92 kB / 0.9517 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.2792, allocations: 67.83 kB / 0.9517 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2792, allocations: 0 / 0.9517 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.337e-06/0.2792, allocations: 0 / 0.9517 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.2792, allocations: 7.875 kB / 0.9518 GB, free: 7.195 MB / 0.7325 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.0005189/0.2798, allocations: 385.4 kB / 0.9521 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2798, allocations: 8.031 kB / 0.9521 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.2799, allocations: 8.938 kB / 0.9521 GB, free: 6.746 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.28, allocations: 164.3 kB / 0.9523 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.28, allocations: 4.375 kB / 0.9523 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.28, allocations: 384 / 0.9523 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.2802, allocations: 38.23 kB / 0.9523 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.2802, allocations: 192 / 0.9523 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.2802, allocations: 7.938 kB / 0.9523 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.2802, allocations: 0 / 0.9523 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.508e-05/0.2802, allocations: 8 kB / 0.9523 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.2804, allocations: 153.7 kB / 0.9525 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 9.921e-05/0.2805, allocations: 38.55 kB / 0.9525 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.486e-05/0.2806, allocations: 8.859 kB / 0.9525 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.2806, allocations: 0 / 0.9525 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.2808, allocations: 55.48 kB / 0.9526 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 3.377e-06/0.2808, allocations: 4 kB / 0.9526 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002342/0.281, allocations: 73.55 kB / 0.9527 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.2811, allocations: 51.41 kB / 0.9527 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/0.2812, allocations: 101.9 kB / 0.9528 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.2812, allocations: 25.7 kB / 0.9528 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.2813, allocations: 92.12 kB / 0.9529 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.2813, allocations: 15.75 kB / 0.9529 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.2813, allocations: 17.72 kB / 0.953 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2814, allocations: 318.8 kB / 0.9533 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.2815, allocations: 8 kB / 0.9533 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.243e-05/0.2815, allocations: 35.44 kB / 0.9533 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.14e-05/0.2816, allocations: 47.72 kB / 0.9533 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2816, allocations: 8 kB / 0.9534 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.633e-05/0.2817, allocations: 65.56 kB / 0.9534 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.2817, allocations: 11.94 kB / 0.9534 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2817, allocations: 0 / 0.9534 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.2818, allocations: 0 / 0.9534 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.2818, allocations: 15.98 kB / 0.9534 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2818, allocations: 4 kB / 0.9534 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.626e-05/0.2819, allocations: 4 kB / 0.9535 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.2819, allocations: 0 / 0.9535 GB, free: 5.195 MB / 0.7325 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.934e-05/0.282, allocations: 125.4 kB / 0.9536 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.282, allocations: 7.844 kB / 0.9536 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.202e-05/0.282, allocations: 7.5 kB / 0.9536 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.282, allocations: 0 / 0.9536 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.282, allocations: 3.938 kB / 0.9536 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.282, allocations: 0 / 0.9536 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.2822, allocations: 165.6 kB / 0.9537 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2822, allocations: 0 / 0.9537 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.357e-05/0.2822, allocations: 4 kB / 0.9538 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.2822, allocations: 7.938 kB / 0.9538 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.2822, allocations: 0 / 0.9538 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.2822, allocations: 0 / 0.9538 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2822, allocations: 0 / 0.9538 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.2823, allocations: 85.11 kB / 0.9538 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.2824, allocations: 77.11 kB / 0.9539 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.2824, allocations: 3.938 kB / 0.9539 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.121e-05/0.2824, allocations: 0 / 0.9539 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/0.2825, allocations: 11.98 kB / 0.9539 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.2825, allocations: 0 / 0.9539 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.464e-05/0.2825, allocations: 83.28 kB / 0.954 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.243e-06/0.2825, allocations: 0 / 0.954 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002486/0.2828, allocations: 35.92 kB / 0.954 GB, free: 4.492 MB / 0.7325 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.0003283/0.2831, allocations: 160.3 kB / 0.9542 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001084/0.2832, allocations: 27.98 kB / 0.9542 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2832, allocations: 3.938 kB / 0.9542 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.669e-05/0.2833, allocations: 12 kB / 0.9542 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.2834, allocations: 7.938 kB / 0.9542 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.2837, allocations: 138.7 kB / 0.9544 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.2839, allocations: 0.6766 MB / 0.955 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.2839, allocations: 19.61 kB / 0.9551 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.2839, allocations: 0 / 0.9551 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of Templates: time 0.002911/0.2869, allocations: 1.218 MB / 0.9562 GB, free: 2.18 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches