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.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.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.001362/0.001362, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001454/0.001454, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.471/1.471, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.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.83/2.83, allocations: 437 MB / 0.7101 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 63.89 kB / 0.8687 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8267/0.8287, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002738/0.8315, allocations: 1.287 MB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009163/0.8324, allocations: 430.7 kB / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.8325, allocations: 0 / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.404e-05/0.8325, allocations: 0 / 1.018 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.789e-05/0.8326, allocations: 3.938 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005753/0.8332, allocations: 95.78 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.283e-05/0.8332, allocations: 11.98 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.616e-05/0.8333, allocations: 4 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.8333, allocations: 15.92 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.816e-05/0.8334, allocations: 4 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.8334, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.8336, allocations: 111.8 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.8336, allocations: 7.922 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.977e-05/0.8337, allocations: 11.98 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.8339, allocations: 95.81 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8339, allocations: 0 / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8339, allocations: 0 / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.8339, allocations: 0 / 1.019 GB, free: 0.5938 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.0005909/0.8345, allocations: 379.1 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.8346, allocations: 8.031 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.8346, allocations: 8.938 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.8348, allocations: 172.2 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.8349, allocations: 384 / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.8349, allocations: 8.375 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.835, allocations: 34.25 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.835, allocations: 192 / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.835, allocations: 3.938 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.8351, allocations: 0 / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.879e-05/0.8351, allocations: 7.938 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.8353, allocations: 165.6 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.84e-05/0.8354, allocations: 30.52 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.47e-05/0.8355, allocations: 20.94 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.8355, allocations: 0 / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/0.8357, allocations: 51.41 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.8357, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002402/0.836, allocations: 77.55 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.836, allocations: 51.41 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.744e-05/0.8361, allocations: 101.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.8362, allocations: 29.7 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.8362, allocations: 80.14 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.123e-05/0.8362, allocations: 3.906 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.8363, allocations: 29.7 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.8364, allocations: 314.8 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.881e-05/0.8365, allocations: 4 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.329e-05/0.8365, allocations: 35.42 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.956e-05/0.8366, allocations: 47.73 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8366, allocations: 4 kB / 1.02 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001105/0.8367, allocations: 69.53 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.8368, allocations: 19.86 kB / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.8368, allocations: 0 / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.8368, allocations: 0 / 1.02 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.8369, allocations: 11.94 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.8369, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.581e-05/0.8369, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.8369, allocations: 0 / 1.021 GB, free: 14.6 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 0.0001044/0.837, allocations: 117.9 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.837, allocations: 3.938 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.8371, allocations: 7.484 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.8371, allocations: 4 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8371, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.8371, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.8373, allocations: 157.6 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.8373, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.8373, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.8373, allocations: 7.938 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.8373, allocations: 4 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.8373, allocations: 7.938 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8373, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.8375, allocations: 81.11 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/0.8375, allocations: 81.11 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.8376, allocations: 7.875 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.378e-05/0.8376, allocations: 7.984 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.8376, allocations: 0 / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.8376, allocations: 8 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.451e-05/0.8377, allocations: 79.28 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8377, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002427/0.8379, allocations: 31.98 kB / 1.021 GB, free: 13.91 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.0003877/0.8383, allocations: 173.6 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.8385, allocations: 39.92 kB / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8385, allocations: 0 / 1.021 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.8385, allocations: 11.94 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.8387, allocations: 3.984 kB / 1.021 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002692/0.8389, allocations: 117 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.8393, allocations: 0.6768 MB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.938e-05/0.8393, allocations: 4.188 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.8393, allocations: 11.44 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8393, allocations: 0 / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of Templates: time 0.003908/0.8432, allocations: 1.041 MB / 1.023 GB, free: 11.79 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y