Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001687/0.001687, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 196.7 kB / 16.79 MB, free: 6.828 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.58/2.58, allocations: 437 MB / 0.7106 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 59.91 kB / 0.8692 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6275/0.629, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002555/0.6316, allocations: 1.28 MB / 1.019 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009025/0.6326, allocations: 454.6 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.355e-05/0.6326, allocations: 0 / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.833e-05/0.6326, allocations: 0 / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.416e-05/0.6327, allocations: 4 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004955/0.6332, allocations: 87.78 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.081e-05/0.6333, allocations: 15.92 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.6333, allocations: 4 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.388e-05/0.6333, allocations: 7.938 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.943e-05/0.6334, allocations: 7.984 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.6334, allocations: 3.984 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.6336, allocations: 99.89 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.6336, allocations: 7.938 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.6337, allocations: 11.94 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.6338, allocations: 71.89 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.6338, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6338, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.6338, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 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.0004754/0.6343, allocations: 379.1 kB / 1.02 GB, free: 344 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.6344, allocations: 8.031 kB / 1.02 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.6344, allocations: 4.938 kB / 1.02 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.6345, allocations: 168.3 kB / 1.02 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.6346, allocations: 4.375 kB / 1.02 GB, free: 120 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.6346, allocations: 8.375 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.687e-05/0.6347, allocations: 34.25 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6347, allocations: 192 / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.6347, allocations: 3.938 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.6347, allocations: 11.97 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.897e-05/0.6348, allocations: 0 / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.635, allocations: 161.6 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.078e-05/0.635, allocations: 30.55 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.6351, allocations: 20.86 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.6351, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.6353, allocations: 59.42 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.6353, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002286/0.6355, allocations: 69.56 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.6356, allocations: 51.41 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.782e-05/0.6357, allocations: 109.8 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.6357, allocations: 25.7 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.763e-05/0.6357, allocations: 80.14 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.6358, allocations: 19.75 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.6358, allocations: 21.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.6359, allocations: 310.8 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.636, allocations: 11.98 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.636, allocations: 31.44 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.34e-05/0.6361, allocations: 51.36 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6361, allocations: 4 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.858e-05/0.6362, allocations: 65.56 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.6362, allocations: 16.03 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.6362, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.6362, allocations: 0 / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.6363, allocations: 8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.6363, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.601e-05/0.6363, allocations: 8 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.6364, allocations: 0 / 1.021 GB, free: 14.77 MB / 0.7794 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.662e-05/0.6364, allocations: 114.4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.6365, allocations: 7.844 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/0.6365, allocations: 15.5 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6365, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.6365, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6365, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.6366, allocations: 150.1 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6366, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/0.6367, allocations: 7.938 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.6367, allocations: 3.938 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.6367, allocations: 7.984 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.6367, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6367, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001284/0.6368, allocations: 89.05 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.6369, allocations: 85.09 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.6369, allocations: 3.938 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.6369, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.6369, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.6369, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.571e-05/0.637, allocations: 83.27 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.637, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002453/0.6372, allocations: 32 kB / 1.022 GB, free: 14.07 MB / 0.7794 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.0003217/0.6376, allocations: 178.9 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.97e-05/0.6377, allocations: 23.98 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6377, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.079e-05/0.6377, allocations: 20.11 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.6379, allocations: 4.562 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000315/0.6382, allocations: 140.3 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.6386, allocations: 0.677 MB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.561e-05/0.6386, allocations: 11.44 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.6386, allocations: 0 / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of Templates: time 0.002731/0.6413, allocations: 1.218 MB / 1.024 GB, free: 11.75 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches