Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001345/0.001345, 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.001626/0.001626, allocations: 196.6 kB / 16.79 MB, free: 6.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.47/1.47, allocations: 222.9 MB / 240.5 MB, free: 4.52 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.564/2.564, allocations: 437 MB / 0.7106 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.91 kB / 0.8692 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6629/0.6644, allocations: 151.6 MB / 1.017 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.003272/0.6677, allocations: 1.295 MB / 1.019 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.669, allocations: 474.5 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.6691, allocations: 0 / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.253e-05/0.6691, allocations: 0 / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.7e-05/0.6692, allocations: 0 / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.6698, allocations: 91.78 kB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.938e-05/0.6698, allocations: 27.86 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.463e-05/0.6699, allocations: 3.984 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.045e-05/0.6699, allocations: 11.98 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.921e-05/0.67, allocations: 7.938 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.67, allocations: 4 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.6703, allocations: 99.83 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.6703, allocations: 4 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.115e-05/0.6704, allocations: 15.92 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.6706, allocations: 67.89 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.6706, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6706, allocations: 7.938 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.6706, allocations: 0 / 1.019 GB, free: 0.7891 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.0006456/0.6713, allocations: 383.1 kB / 1.02 GB, free: 368 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.6713, allocations: 12.03 kB / 1.02 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.6714, allocations: 0.9375 kB / 1.02 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.6716, allocations: 172.3 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.6716, allocations: 384 / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.6716, allocations: 4.375 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.6718, allocations: 46.17 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.6718, allocations: 4.188 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.6718, allocations: 3.938 kB / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.6718, allocations: 0 / 1.02 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.26e-05/0.6719, allocations: 7.984 kB / 1.02 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002165/0.6721, allocations: 153.7 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.6722, allocations: 30.58 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.6723, allocations: 16.94 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.6723, allocations: 4 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001815/0.6725, allocations: 59.25 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.6725, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.000261/0.6727, allocations: 73.61 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.6728, allocations: 51.41 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.6729, allocations: 105.8 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.673, allocations: 29.64 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.673, allocations: 88.14 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.673, allocations: 11.89 kB / 1.021 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/0.6731, allocations: 17.72 kB / 1.021 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.6733, allocations: 314.8 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.074e-05/0.6733, allocations: 19.86 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.989e-05/0.6734, allocations: 31.42 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.606e-05/0.6735, allocations: 55.36 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6735, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001547/0.6736, allocations: 65.53 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6737, allocations: 11.94 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.6737, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.6737, allocations: 4.094 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.638e-05/0.6738, allocations: 8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.6738, allocations: 8.125 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.226e-05/0.6739, allocations: 7.938 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.6739, 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 9.878e-05/0.674, allocations: 114.1 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.674, allocations: 7.938 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.674, allocations: 3.906 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.6741, allocations: 4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.6741, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6741, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.6743, allocations: 169.5 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.6743, allocations: 240 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/0.6743, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.311e-06/0.6743, allocations: 3.938 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.6743, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.6743, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6744, allocations: 3.984 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.6746, allocations: 89.05 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.873e-05/0.6746, allocations: 81.11 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.6747, allocations: 3.938 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.425e-05/0.6747, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.6748, allocations: 3.984 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.6748, allocations: 4 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.902e-05/0.6748, allocations: 79.28 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6749, allocations: 0 / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004453/0.6753, allocations: 35.98 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.0004524/0.6758, allocations: 168.4 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001579/0.6759, allocations: 35.92 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.676, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.244e-05/0.676, allocations: 8 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.0002367/0.6763, allocations: 6.391 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.000328/0.6766, allocations: 148.4 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.677, allocations: 0.677 MB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.139e-05/0.677, allocations: 11.44 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.677, allocations: 0 / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of Templates: time 0.003866/0.6809, allocations: 1.257 MB / 1.024 GB, free: 11.7 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches