Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001941/0.001941, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002536/0.002536, allocations: 164.3 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 177.1 MB / 202.8 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.754/2.754, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9509 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.371e-05/2.514e-05, allocations: 4.672 kB / 0.9509 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1D): time 0.002389/0.002414, allocations: 1.243 MB / 0.9521 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009733/0.003387, allocations: 435.1 kB / 0.9526 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.003418, allocations: 0 / 0.9526 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.003434, allocations: 3.938 kB / 0.9526 GB, free: 9.965 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.282e-05/0.003477, allocations: 7.938 kB / 0.9526 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.004074, allocations: 115.5 kB / 0.9527 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.598e-05/0.00414, allocations: 23.92 kB / 0.9527 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.338e-05/0.004173, allocations: 3.984 kB / 0.9527 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.549e-05/0.004209, allocations: 8 kB / 0.9527 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.638e-05/0.004245, allocations: 7.984 kB / 0.9527 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.004259, allocations: 0 / 0.9527 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.004569, allocations: 143.6 kB / 0.9529 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.004589, allocations: 11.94 kB / 0.9529 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.004619, allocations: 3.984 kB / 0.9529 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.004855, allocations: 115.8 kB / 0.953 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.004858, allocations: 0 / 0.953 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.002e-06/0.004859, allocations: 0 / 0.953 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.004862, allocations: 0 / 0.953 GB, free: 9.531 MB / 0.8575 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.0005023/0.005364, allocations: 309.8 kB / 0.9533 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.005401, allocations: 12.03 kB / 0.9533 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.005438, allocations: 0.9375 kB / 0.9533 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.005554, allocations: 117.7 kB / 0.9534 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.005578, allocations: 384 / 0.9534 GB, free: 9.039 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.00559, allocations: 4.375 kB / 0.9534 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.005705, allocations: 46.19 kB / 0.9534 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.005714, allocations: 192 / 0.9534 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.005723, allocations: 384 / 0.9534 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.005726, allocations: 384 / 0.9534 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.559e-05/0.005762, allocations: 11.92 kB / 0.9535 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001322/0.005894, allocations: 101.3 kB / 0.9536 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.987e-05/0.005984, allocations: 34.61 kB / 0.9536 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.252e-05/0.006017, allocations: 8.859 kB / 0.9536 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.006027, allocations: 0 / 0.9536 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.00619, allocations: 67.42 kB / 0.9537 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.006191, allocations: 0 / 0.9537 GB, free: 8.711 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002107/0.006402, allocations: 65.77 kB / 0.9537 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.006451, allocations: 55.39 kB / 0.9538 GB, free: 8.574 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.201e-05/0.006543, allocations: 105.8 kB / 0.9539 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.006562, allocations: 29.7 kB / 0.9539 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.006607, allocations: 84.14 kB / 0.954 GB, free: 8.34 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.006628, allocations: 11.89 kB / 0.954 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.376e-05/0.006672, allocations: 25.66 kB / 0.954 GB, free: 8.297 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.006805, allocations: 314.8 kB / 0.9543 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.006829, allocations: 11.97 kB / 0.9543 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.00687, allocations: 35.44 kB / 0.9544 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.924e-05/0.006939, allocations: 51.36 kB / 0.9544 GB, free: 7.859 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.006941, allocations: 3.938 kB / 0.9544 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001124/0.007054, allocations: 61.62 kB / 0.9545 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.007069, allocations: 6.031 kB / 0.9545 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.007073, allocations: 0 / 0.9545 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.007089, allocations: 4 kB / 0.9545 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.007151, allocations: 12.09 kB / 0.9545 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.007162, allocations: 15.86 kB / 0.9545 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.007187, allocations: 0 / 0.9545 GB, free: 7.754 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.007196, allocations: 4.156 kB / 0.9545 GB, free: 7.75 MB / 0.8575 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.533e-05/0.007281, allocations: 113.8 kB / 0.9546 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.43e-05/0.007295, allocations: 7.953 kB / 0.9546 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.00732, allocations: 3.688 kB / 0.9546 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.007322, allocations: 0 / 0.9546 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.007325, allocations: 0 / 0.9546 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.00733, allocations: 3.938 kB / 0.9546 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001113/0.007442, allocations: 109.2 kB / 0.9547 GB, free: 7.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.007443, allocations: 4 kB / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.269e-05/0.007455, allocations: 0 / 0.9548 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.00746, allocations: 4 kB / 0.9548 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.007469, allocations: 4 kB / 0.9548 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.007474, allocations: 4 kB / 0.9548 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007475, allocations: 0 / 0.9548 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.007624, allocations: 88.98 kB / 0.9548 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.248e-05/0.007636, allocations: 7.953 kB / 0.9549 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.007649, allocations: 0 / 0.9549 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.3e-05/0.007672, allocations: 3.984 kB / 0.9549 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.007689, allocations: 4 kB / 0.9549 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.007694, allocations: 4 kB / 0.9549 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.432e-05/0.007738, allocations: 83.22 kB / 0.9549 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.007738, allocations: 0 / 0.9549 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002697/0.008008, allocations: 35.92 kB / 0.955 GB, free: 7.215 MB / 0.8575 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.0003899/0.008398, allocations: 174.3 kB / 0.9551 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.008514, allocations: 31.92 kB / 0.9552 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.008516, allocations: 0 / 0.9552 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.014e-05/0.008556, allocations: 11.98 kB / 0.9552 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.008694, allocations: 8 kB / 0.9552 GB, free: 7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.008949, allocations: 101 kB / 0.9553 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.268e-05/0.009002, allocations: 63.34 kB / 0.9554 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 1.671e-05/0.009019, allocations: 0 / 0.9554 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.009038, allocations: 16.44 kB / 0.9554 GB, free: 6.777 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.009039, allocations: 4.188 kB / 0.9554 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of Templates: time 0.004028/0.01307, allocations: 1.109 MB / 0.9565 GB, free: 5.668 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,y Variables in the result:A,B,seed,t0,time,y [Calling sys.exit(0), Time elapsed: 8.05388256534934]