Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001335/0.001335, allocations: 113.3 kB / 17.08 MB, free: 6.012 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.001386/0.001386, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.425/1.425, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.676/2.676, allocations: 437.1 MB / 0.7178 GB, free: 4.598 MB / 0.5606 GB " [Timeout remaining time 177] 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.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 59.91 kB / 1.028 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.301, allocations: 151.6 MB / 1.176 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.002267/0.3033, allocations: 1.227 MB / 1.177 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009331/0.3042, allocations: 462.8 kB / 1.177 GB, free: 4.246 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.388e-05/0.3043, allocations: 4 kB / 1.177 GB, free: 4.242 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.3043, allocations: 3.938 kB / 1.177 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.243e-05/0.3043, allocations: 4 kB / 1.177 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000533/0.3049, allocations: 119.6 kB / 1.178 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.076e-05/0.305, allocations: 15.98 kB / 1.178 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.288e-05/0.305, allocations: 4 kB / 1.178 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.532e-05/0.3051, allocations: 7.938 kB / 1.178 GB, free: 4.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.022e-05/0.3051, allocations: 15.86 kB / 1.178 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.3051, allocations: 4 kB / 1.178 GB, free: 4.07 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.3053, allocations: 99.89 kB / 1.178 GB, free: 3.973 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.3054, allocations: 3.984 kB / 1.178 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.166e-05/0.3054, allocations: 15.94 kB / 1.178 GB, free: 3.953 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.3056, allocations: 99.67 kB / 1.178 GB, free: 3.855 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3056, allocations: 3.938 kB / 1.178 GB, free: 3.852 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3056, allocations: 0 / 1.178 GB, free: 3.852 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3056, allocations: 0 / 1.178 GB, free: 3.852 MB / 0.92 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.0005433/0.3062, allocations: 392.9 kB / 1.178 GB, free: 3.41 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.3062, allocations: 8.031 kB / 1.178 GB, free: 3.402 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.3063, allocations: 8.938 kB / 1.178 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.3064, allocations: 168.3 kB / 1.178 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.3065, allocations: 4.375 kB / 1.178 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.3065, allocations: 4.375 kB / 1.178 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.3066, allocations: 34.25 kB / 1.178 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3066, allocations: 4.125 kB / 1.178 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.3066, allocations: 3.938 kB / 1.178 GB, free: 3.137 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3066, allocations: 4 kB / 1.178 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.669e-05/0.3067, allocations: 11.98 kB / 1.178 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.3069, allocations: 165.5 kB / 1.179 GB, free: 2.91 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.762e-05/0.307, allocations: 34.56 kB / 1.179 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.307, allocations: 12.94 kB / 1.179 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.307, allocations: 0 / 1.179 GB, free: 2.852 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.3072, allocations: 51.41 kB / 1.179 GB, free: 2.789 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3072, allocations: 4 kB / 1.179 GB, free: 2.785 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.00021/0.3074, allocations: 73.55 kB / 1.179 GB, free: 2.707 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3074, allocations: 55.41 kB / 1.179 GB, free: 2.641 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.567e-05/0.3075, allocations: 105.8 kB / 1.179 GB, free: 2.527 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3076, allocations: 29.7 kB / 1.179 GB, free: 2.492 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/0.3076, allocations: 84.14 kB / 1.179 GB, free: 2.406 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.3077, allocations: 11.94 kB / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.3077, allocations: 17.72 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3079, allocations: 314.8 kB / 1.179 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.279e-05/0.3079, allocations: 11.98 kB / 1.179 GB, free: 2.043 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-05/0.3079, allocations: 35.42 kB / 1.179 GB, free: 1.996 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.689e-05/0.308, allocations: 47.36 kB / 1.179 GB, free: 1.938 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.308, allocations: 0 / 1.179 GB, free: 1.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001079/0.3081, allocations: 77.55 kB / 1.18 GB, free: 1.855 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3081, allocations: 7.938 kB / 1.18 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3081, allocations: 0 / 1.18 GB, free: 1.848 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.3082, allocations: 4 kB / 1.18 GB, free: 1.844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.3082, allocations: 4 kB / 1.18 GB, free: 1.84 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.3083, allocations: 7.984 kB / 1.18 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.3083, allocations: 0 / 1.18 GB, free: 1.832 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3083, allocations: 8 kB / 1.18 GB, free: 1.824 MB / 0.92 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.435e-05/0.3084, allocations: 109.8 kB / 1.18 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.3084, allocations: 11.95 kB / 1.18 GB, free: 1.695 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.3084, allocations: 7.906 kB / 1.18 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3084, allocations: 0 / 1.18 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3085, allocations: 0 / 1.18 GB, free: 1.68 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3085, allocations: 11.88 kB / 1.18 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.3086, allocations: 161.9 kB / 1.18 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3086, allocations: 4 kB / 1.18 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.3087, allocations: 3.938 kB / 1.18 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.3087, allocations: 7.938 kB / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3087, allocations: 0 / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3087, allocations: 0 / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3087, allocations: 4 kB / 1.18 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.3089, allocations: 85.11 kB / 1.18 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/0.3089, allocations: 85.28 kB / 1.18 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3089, allocations: 3.938 kB / 1.18 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.07e-05/0.309, allocations: 0 / 1.18 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.309, allocations: 7.984 kB / 1.18 GB, free: 1.227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.309, allocations: 3.984 kB / 1.18 GB, free: 1.223 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.583e-05/0.3091, allocations: 87.28 kB / 1.18 GB, free: 1.137 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3091, allocations: 0 / 1.18 GB, free: 1.137 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002468/0.3093, allocations: 31.92 kB / 1.18 GB, free: 1.105 MB / 0.92 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.0003573/0.3097, allocations: 166.1 kB / 1.18 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.3098, allocations: 23.98 kB / 1.18 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3098, allocations: 4.188 kB / 1.18 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.72e-05/0.3099, allocations: 15.94 kB / 1.18 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.31, allocations: 10.22 kB / 1.18 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/0.3103, allocations: 130.6 kB / 1.18 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.3107, allocations: 0.6807 MB / 1.181 GB, free: 32 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.622e-05/0.3107, allocations: 11.38 kB / 1.181 GB, free: 20 kB / 0.92 GB Notification: Performance of SimCode: time 2.5e-07/0.3107, allocations: 0 / 1.181 GB, free: 20 kB / 0.92 GB Notification: Performance of Templates: time 0.003161/0.3139, allocations: 1.269 MB / 1.182 GB, free: 14.75 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.659439298091456]