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.001487/0.001487, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.00171/0.00171, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.356/1.356, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.487/2.487, allocations: 437.1 MB / 0.711 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 68.36 kB / 0.8699 GB, free: 2.203 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2555, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002272/0.2578, allocations: 1.228 MB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008312/0.2587, allocations: 436.2 kB / 1.02 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.447e-05/0.2587, allocations: 3.938 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.2587, allocations: 0 / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.889e-05/0.2588, allocations: 0 / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.2594, allocations: 103.6 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.696e-05/0.2594, allocations: 19.98 kB / 1.02 GB, free: 8.863 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.2595, allocations: 11.98 kB / 1.02 GB, free: 8.852 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.223e-05/0.2595, allocations: 7.938 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.912e-05/0.2595, allocations: 11.98 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.2596, allocations: 0 / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.2598, allocations: 95.84 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.2598, allocations: 7.922 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.365e-05/0.2598, allocations: 19.92 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.26, allocations: 83.89 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.26, allocations: 0 / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.483e-06/0.26, allocations: 0 / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.658e-06/0.26, allocations: 0 / 1.02 GB, free: 8.629 MB / 0.795 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.0004497/0.2605, allocations: 389.3 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2605, allocations: 8.922 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.2606, allocations: 12.78 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.2607, allocations: 164.4 kB / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.2607, allocations: 8.312 kB / 1.02 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.38e-05/0.2607, allocations: 4.375 kB / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.076e-05/0.2608, allocations: 34.25 kB / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2608, allocations: 192 / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2609, allocations: 7.938 kB / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2609, allocations: 0 / 1.021 GB, free: 7.914 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.196e-05/0.2609, allocations: 11.98 kB / 1.021 GB, free: 7.902 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.2611, allocations: 157.7 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.361e-05/0.2611, allocations: 26.52 kB / 1.021 GB, free: 7.664 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.335e-05/0.2612, allocations: 20.94 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.2612, allocations: 0 / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.2613, allocations: 55.41 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.2613, allocations: 0 / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0001959/0.2615, allocations: 73.59 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.2616, allocations: 55.34 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.435e-05/0.2617, allocations: 101.8 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2617, allocations: 29.7 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.2617, allocations: 80.14 kB / 1.021 GB, free: 7.203 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.2618, allocations: 15.81 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.2618, allocations: 25.7 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.2619, allocations: 310.8 kB / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.2619, allocations: 8 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.505e-05/0.262, allocations: 35.42 kB / 1.021 GB, free: 6.789 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.047e-05/0.262, allocations: 43.38 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.262, allocations: 0 / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001018/0.2621, allocations: 73.55 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.2622, allocations: 7.938 kB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2622, allocations: 4 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2622, allocations: 0 / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.418e-05/0.2623, allocations: 11.94 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2623, allocations: 4.094 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/0.2623, allocations: 4 kB / 1.022 GB, free: 6.625 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.2623, allocations: 4 kB / 1.022 GB, free: 6.621 MB / 0.795 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.49e-05/0.2624, allocations: 118.4 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.2624, allocations: 7.844 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.2624, allocations: 7.5 kB / 1.022 GB, free: 6.477 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2625, allocations: 4 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2625, allocations: 0 / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2625, allocations: 0 / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/0.2626, allocations: 153.7 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2626, allocations: 3.938 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.239e-05/0.2626, allocations: 0 / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.2626, allocations: 7.938 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.2626, allocations: 8 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2626, allocations: 3.984 kB / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2627, allocations: 0 / 1.022 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.2628, allocations: 81.06 kB / 1.022 GB, free: 6.152 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.2628, allocations: 89.09 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.2628, allocations: 3.938 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.144e-05/0.2629, allocations: 0 / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.2629, allocations: 0 / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.2629, allocations: 4 kB / 1.022 GB, free: 6.039 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.418e-05/0.2629, allocations: 83.73 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.263, allocations: 0 / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002489/0.2632, allocations: 28 kB / 1.022 GB, free: 5.93 MB / 0.795 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.0003039/0.2635, allocations: 159.9 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.2636, allocations: 31.92 kB / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2636, allocations: 0 / 1.022 GB, free: 5.746 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.2637, allocations: 15.92 kB / 1.022 GB, free: 5.73 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.2638, allocations: 6.5 kB / 1.022 GB, free: 5.727 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.2641, allocations: 138.8 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.2643, allocations: 0.6844 MB / 1.023 GB, free: 4.848 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.757e-05/0.2643, allocations: 11.44 kB / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.2643, allocations: 0 / 1.023 GB, free: 4.836 MB / 0.795 GB Notification: Performance of Templates: time 0.002773/0.2671, allocations: 1.226 MB / 1.024 GB, free: 3.605 MB / 0.795 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches