Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_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.001142/0.001142, allocations: 114.2 kB / 16.41 MB, free: 6.438 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.00113/0.00113, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.617/2.617, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001422, allocations: 56.12 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7937/0.7951, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002297/0.7975, allocations: 1.225 MB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008274/0.7983, allocations: 434.5 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.7984, allocations: 3.938 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.7984, allocations: 0 / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.815e-05/0.7984, allocations: 0 / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.799, allocations: 115.6 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.858e-05/0.7991, allocations: 11.98 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.7991, allocations: 4 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.338e-05/0.7992, allocations: 11.92 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.647e-05/0.7992, allocations: 4 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.7992, allocations: 0 / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.7994, allocations: 115.8 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.7995, allocations: 0 / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.7995, allocations: 15.92 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.7997, allocations: 91.81 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7997, allocations: 4 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7997, allocations: 0 / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7997, allocations: 0 / 1.21 GB, free: 11.63 MB / 0.9356 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.0004808/0.8002, allocations: 381 kB / 1.211 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.8003, allocations: 8.031 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.632e-05/0.8003, allocations: 4.938 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.8004, allocations: 168.3 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.8005, allocations: 8.312 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.8005, allocations: 4.375 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.8006, allocations: 38.25 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.8006, allocations: 192 / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.8006, allocations: 7.938 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.8006, allocations: 0 / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.251e-05/0.8007, allocations: 7.984 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.8008, allocations: 153.7 kB / 1.211 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.379e-05/0.8009, allocations: 34.5 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.576e-05/0.801, allocations: 20.94 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-06/0.801, allocations: 0 / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.8011, allocations: 55.41 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.8012, allocations: 0 / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0002051/0.8014, allocations: 73.52 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.8014, allocations: 59.34 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.8015, allocations: 101.8 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.8015, allocations: 29.7 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.683e-05/0.8016, allocations: 80.14 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.8016, allocations: 15.84 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.8016, allocations: 21.7 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.8017, allocations: 310.8 kB / 1.212 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.8018, allocations: 8 kB / 1.212 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.651e-05/0.8018, allocations: 35.42 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.004e-05/0.8019, allocations: 47.38 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8019, allocations: 0 / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.954e-05/0.802, allocations: 65.61 kB / 1.212 GB, free: 9.676 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.802, allocations: 11.94 kB / 1.212 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.802, allocations: 4.094 kB / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.8021, allocations: 0 / 1.212 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.8021, allocations: 11.94 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.8021, allocations: 0 / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.871e-05/0.8022, allocations: 9.734 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.8022, allocations: 0 / 1.212 GB, free: 9.641 MB / 0.9356 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 8.459e-05/0.8023, allocations: 113.8 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.8023, allocations: 15.86 kB / 1.212 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.8023, allocations: 3.5 kB / 1.212 GB, free: 9.496 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.8023, allocations: 4 kB / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.8023, allocations: 0 / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.8023, allocations: 0 / 1.212 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.8025, allocations: 157.7 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8025, allocations: 0 / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.8025, allocations: 4 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.8025, allocations: 3.938 kB / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.8025, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8025, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.8025, allocations: 0 / 1.212 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001273/0.8026, allocations: 97.45 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.8027, allocations: 81.02 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.8027, allocations: 11.92 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.102e-05/0.8027, allocations: 0 / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.8028, allocations: 4 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.8028, allocations: 0 / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.352e-05/0.8028, allocations: 79.28 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8028, allocations: 0 / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002555/0.8031, allocations: 35.98 kB / 1.213 GB, free: 8.941 MB / 0.9356 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.0003248/0.8034, allocations: 166.5 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001058/0.8035, allocations: 31.92 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8035, allocations: 0 / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.881e-05/0.8036, allocations: 11.98 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001349/0.8037, allocations: 5.906 kB / 1.213 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.804, allocations: 142.6 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.8043, allocations: 0.6806 MB / 1.214 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.647e-05/0.8044, allocations: 11.44 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.8044, allocations: 0 / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of Templates: time 0.002895/0.8073, allocations: 1.23 MB / 1.215 GB, free: 6.617 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches