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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001261/0.001262, allocations: 106.1 kB / 15.99 MB, free: 6.348 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.001182/0.001182, allocations: 189.2 kB / 16.91 MB, free: 6.188 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.708/2.708, allocations: 482.2 MB / 0.7548 GB, free: 7.324 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002972/0.002972, allocations: 72.19 kB / 0.9238 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7284/0.7314, allocations: 162.2 MB / 1.082 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.00217/0.7336, allocations: 1.28 MB / 1.083 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000751/0.7344, allocations: 426.2 kB / 1.084 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.051e-05/0.7344, allocations: 1 kB / 1.084 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.7344, allocations: 0 / 1.084 GB, free: 0.543 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.139e-05/0.7345, allocations: 12.77 kB / 1.084 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.735, allocations: 91.78 kB / 1.084 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.613e-05/0.735, allocations: 18.78 kB / 1.084 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.7351, allocations: 6.328 kB / 1.084 GB, free: 492 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.246e-05/0.7351, allocations: 9.625 kB / 1.084 GB, free: 488 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.787e-05/0.7351, allocations: 8.75 kB / 1.084 GB, free: 484 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.7352, allocations: 1.688 kB / 1.084 GB, free: 484 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.7354, allocations: 105.6 kB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.686e-05/0.7354, allocations: 2.656 kB / 1.084 GB, free: 448 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.7354, allocations: 17.3 kB / 1.084 GB, free: 436 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001441/0.7356, allocations: 65.36 kB / 1.084 GB, free: 420 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.7356, allocations: 0 / 1.084 GB, free: 420 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7356, allocations: 0 / 1.084 GB, free: 420 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.7356, allocations: 0.9062 kB / 1.084 GB, free: 420 kB / 0.8262 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.0003879/0.736, allocations: 375.1 kB / 1.084 GB, free: 12 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.736, allocations: 9.312 kB / 1.084 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.7361, allocations: 6.281 kB / 1.084 GB, free: 8 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.7363, allocations: 164.2 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.7363, allocations: 9.922 kB / 1.085 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.7363, allocations: 2.844 kB / 1.085 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.7364, allocations: 39.69 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.7364, allocations: 192 / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.7365, allocations: 6.125 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.7365, allocations: 0 / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.103e-05/0.7365, allocations: 8.625 kB / 1.085 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001777/0.7367, allocations: 161.8 kB / 1.085 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.341e-05/0.7368, allocations: 30.41 kB / 1.085 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.7368, allocations: 14.25 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.7368, allocations: 0.7812 kB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.737, allocations: 62.11 kB / 1.085 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.737, allocations: 0 / 1.085 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4): time 0.0002159/0.7372, allocations: 73.12 kB / 1.085 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.7373, allocations: 57.25 kB / 1.085 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.771e-05/0.7374, allocations: 100.8 kB / 1.085 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.7374, allocations: 27.72 kB / 1.085 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.7374, allocations: 85.36 kB / 1.085 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.7375, allocations: 9.734 kB / 1.085 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.7375, allocations: 21.69 kB / 1.085 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.7376, allocations: 312.9 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.7377, allocations: 10.36 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.7377, allocations: 33 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.099e-05/0.7378, allocations: 46.14 kB / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.7378, allocations: 0 / 1.086 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001103/0.7379, allocations: 73.39 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.7379, allocations: 10.56 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.7379, allocations: 0.7812 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.738, allocations: 1.438 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.175e-05/0.738, allocations: 7.859 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.738, allocations: 5.781 kB / 1.086 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.485e-05/0.7381, allocations: 5.688 kB / 1.086 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.7381, allocations: 6.828 kB / 1.086 GB, free: 14.64 MB / 0.8419 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.332e-05/0.7382, allocations: 113.1 kB / 1.086 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.379e-05/0.7382, allocations: 11.22 kB / 1.086 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.7382, allocations: 7.5 kB / 1.086 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.7382, allocations: 1.719 kB / 1.086 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.7383, allocations: 0 / 1.086 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.7383, allocations: 1.922 kB / 1.086 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.7384, allocations: 154.6 kB / 1.086 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.7384, allocations: 0 / 1.086 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-05/0.7384, allocations: 5.781 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.7384, allocations: 4.594 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.036e-06/0.7385, allocations: 1.609 kB / 1.086 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.7385, allocations: 5.094 kB / 1.086 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.7385, allocations: 0.7031 kB / 1.086 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.7386, allocations: 89.33 kB / 1.086 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.7387, allocations: 83.12 kB / 1.086 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.7387, allocations: 5.797 kB / 1.086 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.7387, allocations: 0 / 1.086 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.7387, allocations: 2.094 kB / 1.086 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.7387, allocations: 3.297 kB / 1.086 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 4.365e-05/0.7388, allocations: 83.95 kB / 1.086 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7388, allocations: 3.938 kB / 1.086 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002594/0.7391, allocations: 32.5 kB / 1.086 GB, free: 14.04 MB / 0.8419 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.0003739/0.7394, allocations: 166.3 kB / 1.087 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.7396, allocations: 37.91 kB / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.7396, allocations: 0 / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.771e-05/0.7396, allocations: 9.594 kB / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.7398, allocations: 7.641 kB / 1.087 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.74, allocations: 140.1 kB / 1.087 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002878/0.7403, allocations: 0.6774 MB / 1.087 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.7404, allocations: 8.906 kB / 1.087 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.7404, allocations: 1.594 kB / 1.087 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of Templates: time 0.003115/0.7435, allocations: 1.231 MB / 1.089 GB, free: 12.92 MB / 0.8419 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