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.001086/0.001086, allocations: 88.2 kB / 16.03 MB, free: 56 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.001391/0.001391, allocations: 187.8 kB / 16.94 MB, free: 6.891 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.6/1.6, allocations: 223.3 MB / 241 MB, free: 5.34 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.343/2.343, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003315, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6486/0.649, allocations: 142.4 MB / 0.9557 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.001066/0.6501, allocations: 0.9482 MB / 0.9566 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007327/0.6508, allocations: 429.4 kB / 0.957 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.902e-05/0.6509, allocations: 1.188 kB / 0.957 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.6509, allocations: 0 / 0.957 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.976e-05/0.6509, allocations: 0 / 0.957 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004154/0.6513, allocations: 95.61 kB / 0.9571 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.201e-05/0.6514, allocations: 12.5 kB / 0.9571 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.6515, allocations: 5.438 kB / 0.9571 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.44e-05/0.6515, allocations: 12.23 kB / 0.9572 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.675e-05/0.6515, allocations: 10.86 kB / 0.9572 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.16e-05/0.6515, allocations: 1.469 kB / 0.9572 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.6517, allocations: 104.7 kB / 0.9573 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.6517, allocations: 2.344 kB / 0.9573 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.6518, allocations: 36.59 kB / 0.9573 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.6519, allocations: 68.2 kB / 0.9574 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6519, allocations: 0 / 0.9574 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.874e-06/0.6519, allocations: 0 / 0.9574 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.6519, allocations: 1.188 kB / 0.9574 GB, free: 6.453 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.0003341/0.6523, allocations: 383 kB / 0.9577 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.6523, allocations: 14.03 kB / 0.9578 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.6524, allocations: 2.5 kB / 0.9578 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.539e-05/0.6524, allocations: 161.8 kB / 0.9579 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.6525, allocations: 1.719 kB / 0.9579 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.6525, allocations: 5.734 kB / 0.9579 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.578e-05/0.6526, allocations: 44.62 kB / 0.958 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.6526, allocations: 192 / 0.958 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.6526, allocations: 7.938 kB / 0.958 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6526, allocations: 8.891 kB / 0.958 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.822e-05/0.6527, allocations: 2.812 kB / 0.958 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.6528, allocations: 161.8 kB / 0.9581 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.091e-05/0.6528, allocations: 30.67 kB / 0.9582 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.6529, allocations: 9.484 kB / 0.9582 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.6529, allocations: 1.281 kB / 0.9582 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001232/0.653, allocations: 63.73 kB / 0.9582 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.653, allocations: 0 / 0.9582 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000181/0.6532, allocations: 66 kB / 0.9583 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.6532, allocations: 56.81 kB / 0.9583 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.317e-05/0.6533, allocations: 98.81 kB / 0.9584 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.6533, allocations: 30.67 kB / 0.9585 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.86e-05/0.6533, allocations: 85.23 kB / 0.9586 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.6534, allocations: 4.938 kB / 0.9586 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.137e-05/0.6534, allocations: 20.02 kB / 0.9586 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.198e-05/0.6534, allocations: 312 kB / 0.9589 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.149e-05/0.6535, allocations: 9.438 kB / 0.9589 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.436e-05/0.6535, allocations: 38.17 kB / 0.9589 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.099e-05/0.6536, allocations: 44.41 kB / 0.959 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.6536, allocations: 3.938 kB / 0.959 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.638e-05/0.6537, allocations: 72.55 kB / 0.959 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6537, allocations: 11.5 kB / 0.959 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.6537, allocations: 1.25 kB / 0.959 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.6537, allocations: 1.094 kB / 0.959 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/0.6538, allocations: 7.359 kB / 0.9591 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.6538, allocations: 5.5 kB / 0.9591 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.6538, allocations: 5.469 kB / 0.9591 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.6539, allocations: 2.906 kB / 0.9591 GB, free: 4.629 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 (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.282e-05/0.6539, allocations: 115.2 kB / 0.9592 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.678e-06/0.654, allocations: 5.656 kB / 0.9592 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.522e-05/0.654, allocations: 9.281 kB / 0.9592 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.654, allocations: 3.984 kB / 0.9592 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.654, allocations: 1.719 kB / 0.9592 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.654, allocations: 4 kB / 0.9592 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.6541, allocations: 153.4 kB / 0.9593 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.6541, allocations: 0 / 0.9593 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.12e-05/0.6541, allocations: 1.781 kB / 0.9594 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.6542, allocations: 5.688 kB / 0.9594 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.6542, allocations: 7.984 kB / 0.9594 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6542, allocations: 0 / 0.9594 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6542, allocations: 1.875 kB / 0.9594 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.6543, allocations: 88.88 kB / 0.9595 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.6543, allocations: 82.84 kB / 0.9595 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.6544, allocations: 5.75 kB / 0.9595 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.6544, allocations: 0 / 0.9595 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.6544, allocations: 1.781 kB / 0.9595 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.6544, allocations: 1.812 kB / 0.9595 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.614e-05/0.6544, allocations: 81.05 kB / 0.9596 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6545, allocations: 0 / 0.9596 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002677/0.6547, allocations: 31.94 kB / 0.9596 GB, free: 4.004 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 (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.0003636/0.6551, allocations: 171.3 kB / 0.9598 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.6552, allocations: 30.02 kB / 0.9598 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6552, allocations: 0 / 0.9598 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.6553, allocations: 15.88 kB / 0.9599 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.6554, allocations: 5.719 kB / 0.9599 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002458/0.6557, allocations: 138 kB / 0.96 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.6558, allocations: 0.6773 MB / 0.9607 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.359e-05/0.6559, allocations: 10.91 kB / 0.9607 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.6559, allocations: 0 / 0.9607 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of Templates: time 0.003054/0.6589, allocations: 1.215 MB / 0.9618 GB, free: 2.379 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/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