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.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.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.0008972/0.0008972, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001114/0.001114, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 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: 223.3 MB / 240 MB, free: 5.406 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.599/2.599, allocations: 390.9 MB / 0.666 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003714/0.0003716, allocations: 12 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7543/0.7547, allocations: 142.4 MB / 0.9544 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001191/0.7559, allocations: 0.9341 MB / 0.9553 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007878/0.7567, allocations: 421 kB / 0.9557 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.951e-05/0.7568, allocations: 1.531 kB / 0.9557 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.7568, allocations: 0 / 0.9557 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.41e-05/0.7569, allocations: 0 / 0.9557 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006006/0.7575, allocations: 79.06 kB / 0.9558 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.333e-05/0.7576, allocations: 19.2 kB / 0.9558 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.7576, allocations: 2.094 kB / 0.9558 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.511e-05/0.7576, allocations: 7.422 kB / 0.9558 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.331e-05/0.7577, allocations: 14.73 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.7577, allocations: 1.5 kB / 0.9559 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002321/0.7579, allocations: 96.75 kB / 0.9559 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.758, allocations: 5.109 kB / 0.956 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.758, allocations: 28.23 kB / 0.956 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.7582, allocations: 71.91 kB / 0.956 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.7582, allocations: 0 / 0.956 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7582, allocations: 1.375 kB / 0.9561 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.7582, allocations: 0 / 0.9561 GB, free: 6.43 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003663/0.7586, allocations: 376.2 kB / 0.9564 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.7586, allocations: 8.125 kB / 0.9564 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.7587, allocations: 9.984 kB / 0.9564 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.344e-05/0.7587, allocations: 160.1 kB / 0.9566 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.7588, allocations: 1.812 kB / 0.9566 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.7588, allocations: 2.094 kB / 0.9566 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.301e-05/0.7589, allocations: 43.41 kB / 0.9566 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.7589, allocations: 0 / 0.9566 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.7589, allocations: 3.984 kB / 0.9566 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.7589, allocations: 1.219 kB / 0.9566 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.033e-05/0.759, allocations: 6.766 kB / 0.9566 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000113/0.7591, allocations: 161 kB / 0.9568 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.342e-05/0.7592, allocations: 34.53 kB / 0.9568 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.706e-05/0.7592, allocations: 9.984 kB / 0.9568 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/0.7592, allocations: 1.094 kB / 0.9568 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.7594, allocations: 59.7 kB / 0.9569 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.343e-06/0.7594, allocations: 4 kB / 0.9569 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001838/0.7596, allocations: 65.03 kB / 0.957 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.7596, allocations: 57.52 kB / 0.957 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.376e-05/0.7596, allocations: 102.6 kB / 0.9571 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.896e-06/0.7597, allocations: 25.7 kB / 0.9571 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.032e-05/0.7597, allocations: 85.36 kB / 0.9572 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.7597, allocations: 10.02 kB / 0.9572 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.7597, allocations: 7.875 kB / 0.9572 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.399e-05/0.7598, allocations: 324.8 kB / 0.9575 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.7598, allocations: 3.469 kB / 0.9575 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.856e-05/0.7598, allocations: 34.45 kB / 0.9576 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.787e-05/0.7599, allocations: 10.88 kB / 0.9576 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.7599, allocations: 1.125 kB / 0.9576 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.153e-05/0.76, allocations: 71.41 kB / 0.9577 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.76, allocations: 5.312 kB / 0.9577 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.76, allocations: 2.25 kB / 0.9577 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.76, allocations: 1 kB / 0.9577 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.636e-05/0.7601, allocations: 14.48 kB / 0.9577 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.7601, allocations: 1.125 kB / 0.9577 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.7601, allocations: 5.156 kB / 0.9577 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.7601, allocations: 7.203 kB / 0.9577 GB, free: 4.668 MB / 0.7169 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 ($PRE.y,y,$PRE.curSeed,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.7602, allocations: 112.2 kB / 0.9578 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.7602, allocations: 6.25 kB / 0.9578 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/0.7602, allocations: 3.5 kB / 0.9578 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.7602, allocations: 5.047 kB / 0.9578 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.7603, allocations: 0 / 0.9578 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.7603, allocations: 1.562 kB / 0.9578 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.545e-05/0.7603, allocations: 156.8 kB / 0.958 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.7603, allocations: 1.062 kB / 0.958 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.295e-05/0.7604, allocations: 1.062 kB / 0.958 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.7604, allocations: 1.25 kB / 0.958 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.7604, allocations: 5.062 kB / 0.958 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7604, allocations: 4 kB / 0.958 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7604, allocations: 1.062 kB / 0.958 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.7605, allocations: 89.52 kB / 0.9581 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.7605, allocations: 78.95 kB / 0.9581 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.7606, allocations: 1.094 kB / 0.9581 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.867e-05/0.7606, allocations: 0 / 0.9581 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.01e-05/0.7606, allocations: 13.2 kB / 0.9582 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-06/0.7606, allocations: 2.531 kB / 0.9582 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.898e-05/0.7606, allocations: 81.41 kB / 0.9582 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7606, allocations: 0 / 0.9582 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002642/0.7609, allocations: 43.58 kB / 0.9583 GB, free: 4.039 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 (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003209/0.7612, allocations: 161.2 kB / 0.9584 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.7614, allocations: 33.92 kB / 0.9585 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7614, allocations: 0 / 0.9585 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.701e-05/0.7614, allocations: 15.94 kB / 0.9585 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.7616, allocations: 5.297 kB / 0.9585 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.7618, allocations: 111.5 kB / 0.9586 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.94e-05/0.7619, allocations: 0.6788 MB / 0.9592 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.762, allocations: 9.453 kB / 0.9593 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.762, allocations: 9.531 kB / 0.9593 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.762, allocations: 0 / 0.9593 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of Templates: time 0.00314/0.7651, allocations: 1.015 MB / 0.9603 GB, free: 2.527 MB / 0.7169 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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