Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.001414/0.001414, allocations: 80.45 kB / 19.18 MB, free: 2.52 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.001534/0.001534, allocations: 160.8 kB / 22.45 MB, free: 5.375 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.466/1.466, allocations: 177.1 MB / 202.8 MB, free: 9.184 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.726/2.726, allocations: 359 MB / 0.6037 GB, free: 14.93 MB / 0.5762 GB " [Timeout remaining time 177] 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.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.9509 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.993e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002641/0.002671, allocations: 1.244 MB / 0.9521 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.003795, allocations: 471 kB / 0.9526 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.695e-05/0.003832, allocations: 0 / 0.9526 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.003852, allocations: 3.938 kB / 0.9526 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.326e-05/0.003895, allocations: 3.938 kB / 0.9526 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006817/0.004577, allocations: 127.4 kB / 0.9527 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.924e-05/0.004656, allocations: 19.92 kB / 0.9527 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.004702, allocations: 8 kB / 0.9527 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.802e-05/0.00475, allocations: 19.92 kB / 0.9528 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.289e-05/0.004783, allocations: 7.984 kB / 0.9528 GB, free: 9.664 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.004802, allocations: 3.984 kB / 0.9528 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003424/0.005145, allocations: 143.7 kB / 0.9529 GB, free: 9.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.049e-05/0.005165, allocations: 7.984 kB / 0.9529 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.005193, allocations: 0 / 0.9529 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.005476, allocations: 127.6 kB / 0.953 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.00548, allocations: 3.938 kB / 0.9531 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005481, allocations: 0 / 0.9531 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.005485, allocations: 0 / 0.9531 GB, free: 9.383 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.0005332/0.006018, allocations: 315.7 kB / 0.9534 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.006056, allocations: 16.02 kB / 0.9534 GB, free: 9.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.006092, allocations: 4.891 kB / 0.9534 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.006221, allocations: 109.8 kB / 0.9535 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.33e-05/0.006244, allocations: 4.312 kB / 0.9535 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.006257, allocations: 4.375 kB / 0.9535 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.006378, allocations: 38.25 kB / 0.9535 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.006387, allocations: 4.125 kB / 0.9535 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.006396, allocations: 384 / 0.9535 GB, free: 8.828 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.006406, allocations: 4.375 kB / 0.9535 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.934e-05/0.006445, allocations: 11.92 kB / 0.9535 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.006608, allocations: 117.3 kB / 0.9537 GB, free: 8.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.64e-05/0.006704, allocations: 26.58 kB / 0.9537 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.54e-05/0.00674, allocations: 8.859 kB / 0.9537 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.311e-05/0.006753, allocations: 96 / 0.9537 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.00692, allocations: 59.33 kB / 0.9537 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.006922, allocations: 0 / 0.9537 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0002523/0.007174, allocations: 73.62 kB / 0.9538 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.007219, allocations: 51.41 kB / 0.9539 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.664e-05/0.007316, allocations: 109.8 kB / 0.954 GB, free: 8.293 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.007339, allocations: 33.7 kB / 0.954 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.007389, allocations: 84.14 kB / 0.9541 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.007412, allocations: 7.953 kB / 0.9541 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.00746, allocations: 25.7 kB / 0.9541 GB, free: 8.129 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.0076, allocations: 310.8 kB / 0.9544 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.579e-05/0.007626, allocations: 8 kB / 0.9544 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.875e-05/0.007674, allocations: 35.36 kB / 0.9544 GB, free: 7.762 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.528e-05/0.00775, allocations: 47.38 kB / 0.9545 GB, free: 7.703 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.007752, allocations: 4 kB / 0.9545 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001174/0.007869, allocations: 69.56 kB / 0.9546 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.007885, allocations: 10.19 kB / 0.9546 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.007889, allocations: 0 / 0.9546 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.007907, allocations: 4 kB / 0.9546 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.007972, allocations: 4 kB / 0.9546 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.007979, allocations: 3.938 kB / 0.9546 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.008005, allocations: 4 kB / 0.9546 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.008018, allocations: 8 kB / 0.9546 GB, free: 7.594 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 9.087e-05/0.008108, allocations: 117.9 kB / 0.9547 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.00813, allocations: 7.953 kB / 0.9547 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.766e-05/0.008158, allocations: 15.88 kB / 0.9547 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.008159, allocations: 0 / 0.9547 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.008163, allocations: 0 / 0.9547 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.008169, allocations: 3.938 kB / 0.9547 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.008278, allocations: 105.3 kB / 0.9548 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.00828, allocations: 256 / 0.9548 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.723e-05/0.008297, allocations: 4 kB / 0.9548 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.008299, allocations: 0 / 0.9548 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.008312, allocations: 12 kB / 0.9549 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.008313, allocations: 0 / 0.9549 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.008314, allocations: 0 / 0.9549 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.008469, allocations: 89.22 kB / 0.9549 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.008482, allocations: 8 kB / 0.9549 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.008499, allocations: 3.984 kB / 0.9549 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.442e-05/0.008523, allocations: 4 kB / 0.955 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.008551, allocations: 3.984 kB / 0.955 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.008556, allocations: 0 / 0.955 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.278e-05/0.008609, allocations: 87.22 kB / 0.955 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/0.008609, allocations: 4 kB / 0.955 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002769/0.008886, allocations: 39.86 kB / 0.9551 GB, free: 7.035 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.0004518/0.009338, allocations: 178.1 kB / 0.9553 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.009464, allocations: 27.92 kB / 0.9553 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.009466, allocations: 3.938 kB / 0.9553 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.304e-05/0.009509, allocations: 15.98 kB / 0.9553 GB, free: 6.824 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.009662, allocations: 10.77 kB / 0.9553 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.009988, allocations: 116.9 kB / 0.9554 GB, free: 6.676 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.021e-05/0.01005, allocations: 59.34 kB / 0.9555 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.387e-05/0.01007, allocations: 7.984 kB / 0.9555 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.0101, allocations: 8.5 kB / 0.9555 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of SimCode: time 4.31e-07/0.0101, allocations: 0 / 0.9555 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of Templates: time 0.004621/0.01472, allocations: 1.181 MB / 0.9566 GB, free: 5.406 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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,C,D,seed,t0,time,y [Calling sys.exit(0), Time elapsed: 7.975572757422924]