Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 113 kB / 17.6 MB, free: 4.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 186.8 kB / 20.78 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.057/3.057, allocations: 496.2 MB / 0.7819 GB, free: 12.24 MB / 0.6231 GB " [Timeout remaining time 176] 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.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 67.89 kB / 1.136 GB, free: 12.47 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.208/1.21, allocations: 173.6 MB / 1.305 GB, free: 33.65 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002961/1.213, allocations: 1.232 MB / 1.307 GB, free: 32.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001049/1.214, allocations: 475.1 kB / 1.307 GB, free: 32.49 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.766e-05/1.214, allocations: 0 / 1.307 GB, free: 32.49 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/1.214, allocations: 6.688 kB / 1.307 GB, free: 32.48 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.244e-05/1.214, allocations: 0 / 1.307 GB, free: 32.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/1.215, allocations: 112.3 kB / 1.307 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.333e-05/1.215, allocations: 18.73 kB / 1.307 GB, free: 32.43 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/1.215, allocations: 11.25 kB / 1.307 GB, free: 32.42 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.399e-05/1.215, allocations: 17.36 kB / 1.307 GB, free: 32.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.918e-05/1.215, allocations: 14 kB / 1.307 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/1.215, allocations: 2.812 kB / 1.307 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002248/1.215, allocations: 103.7 kB / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.678e-05/1.215, allocations: 6.969 kB / 1.307 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/1.215, allocations: 9.953 kB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001728/1.215, allocations: 105.6 kB / 1.307 GB, free: 32.33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.215, allocations: 4 kB / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/1.215, allocations: 0 / 1.307 GB, free: 32.32 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.959e-06/1.215, allocations: 0 / 1.307 GB, free: 32.32 MB / 1.061 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.0004538/1.216, allocations: 389.3 kB / 1.308 GB, free: 31.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/1.216, allocations: 12.12 kB / 1.308 GB, free: 31.91 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/1.216, allocations: 3.812 kB / 1.308 GB, free: 31.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.594e-05/1.216, allocations: 168.3 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/1.216, allocations: 3.312 kB / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/1.216, allocations: 384 / 1.308 GB, free: 31.71 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.945e-05/1.216, allocations: 44.58 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/1.216, allocations: 4.125 kB / 1.308 GB, free: 31.67 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/1.216, allocations: 3.938 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.216, allocations: 4 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.2e-05/1.216, allocations: 10.73 kB / 1.308 GB, free: 31.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/1.216, allocations: 162.3 kB / 1.308 GB, free: 31.46 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.518e-05/1.216, allocations: 30.38 kB / 1.308 GB, free: 31.43 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/1.216, allocations: 7.797 kB / 1.308 GB, free: 31.42 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/1.216, allocations: 0 / 1.308 GB, free: 31.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/1.217, allocations: 58.56 kB / 1.308 GB, free: 31.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/1.217, allocations: 0 / 1.308 GB, free: 31.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0001972/1.217, allocations: 74.95 kB / 1.308 GB, free: 31.32 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.164e-05/1.217, allocations: 51.41 kB / 1.308 GB, free: 31.26 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.703e-05/1.217, allocations: 109.8 kB / 1.309 GB, free: 31.15 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/1.217, allocations: 25.7 kB / 1.309 GB, free: 31.12 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/1.217, allocations: 86.23 kB / 1.309 GB, free: 31.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/1.217, allocations: 11.91 kB / 1.309 GB, free: 31.03 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/1.217, allocations: 23.94 kB / 1.309 GB, free: 31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.108e-05/1.217, allocations: 317.1 kB / 1.309 GB, free: 30.69 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/1.217, allocations: 6.625 kB / 1.309 GB, free: 30.69 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/1.217, allocations: 35.34 kB / 1.309 GB, free: 30.65 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.633e-05/1.217, allocations: 43 kB / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.217, allocations: 3.281 kB / 1.309 GB, free: 30.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.178e-05/1.217, allocations: 68.44 kB / 1.309 GB, free: 30.56 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.217, allocations: 11.28 kB / 1.309 GB, free: 30.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/1.217, allocations: 6.812 kB / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/1.217, allocations: 0 / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/1.217, allocations: 12.91 kB / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/1.217, allocations: 7.609 kB / 1.309 GB, free: 30.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/1.217, allocations: 8 kB / 1.309 GB, free: 30.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/1.217, allocations: 2.844 kB / 1.309 GB, free: 30.54 MB / 1.061 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 5.022e-05/1.217, allocations: 112.3 kB / 1.309 GB, free: 30.42 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.126e-05/1.217, allocations: 10.61 kB / 1.309 GB, free: 30.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/1.217, allocations: 11.09 kB / 1.309 GB, free: 30.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/1.217, allocations: 6.969 kB / 1.309 GB, free: 30.39 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.217, allocations: 0 / 1.309 GB, free: 30.39 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/1.217, allocations: 3.938 kB / 1.309 GB, free: 30.39 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.152e-05/1.218, allocations: 155.8 kB / 1.309 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.218, allocations: 2.844 kB / 1.309 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/1.218, allocations: 3.281 kB / 1.309 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.218, allocations: 3.938 kB / 1.309 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/1.218, allocations: 2.844 kB / 1.309 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.218, allocations: 0 / 1.309 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.218, allocations: 0 / 1.309 GB, free: 30.19 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/1.218, allocations: 82.84 kB / 1.31 GB, free: 30.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/1.218, allocations: 89.09 kB / 1.31 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/1.218, allocations: 6.969 kB / 1.31 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.261e-05/1.218, allocations: 3.703 kB / 1.31 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/1.218, allocations: 0 / 1.31 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/1.218, allocations: 3.031 kB / 1.31 GB, free: 30.01 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.515e-05/1.218, allocations: 85.52 kB / 1.31 GB, free: 29.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.218, allocations: 3.938 kB / 1.31 GB, free: 29.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002531/1.218, allocations: 32.47 kB / 1.31 GB, free: 29.92 MB / 1.061 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.0003597/1.218, allocations: 171.1 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001182/1.219, allocations: 22.06 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.219, allocations: 3.938 kB / 1.31 GB, free: 29.8 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.424e-05/1.219, allocations: 13.16 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/1.219, allocations: 3.047 kB / 1.31 GB, free: 29.79 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/1.219, allocations: 126.2 kB / 1.31 GB, free: 29.68 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/1.219, allocations: 0.6849 MB / 1.311 GB, free: 28.98 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.187e-05/1.219, allocations: 0.5 kB / 1.311 GB, free: 28.98 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.722e-05/1.219, allocations: 10.16 kB / 1.311 GB, free: 28.97 MB / 1.061 GB Notification: Performance of SimCode: time 4.31e-07/1.219, allocations: 0 / 1.311 GB, free: 28.97 MB / 1.061 GB Notification: Performance of Templates: time 0.004463/1.224, allocations: 1.087 MB / 1.312 GB, free: 28.83 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.047290026210248]