Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.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.001793/0.001793, allocations: 111.5 kB / 18.88 MB, free: 3.055 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.002036/0.002036, allocations: 190.4 kB / 22.17 MB, free: 5.203 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.429/1.429, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.792/2.792, allocations: 476.7 MB / 0.7645 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 67.89 kB / 1.109 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8911/0.8932, allocations: 168.7 MB / 1.274 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.00244/0.8957, allocations: 1.226 MB / 1.275 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009679/0.8966, allocations: 466.4 kB / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.462e-05/0.8967, allocations: 0 / 1.276 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.8967, allocations: 7.938 kB / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.34e-05/0.8967, allocations: 0 / 1.276 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005684/0.8973, allocations: 111.6 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.956e-05/0.8974, allocations: 23.98 kB / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.94e-05/0.8974, allocations: 0 / 1.276 GB, free: 2.758 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.128e-05/0.8974, allocations: 19.92 kB / 1.276 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.131e-05/0.8975, allocations: 7.922 kB / 1.276 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.8975, allocations: 4 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002381/0.8977, allocations: 115.8 kB / 1.276 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.8977, allocations: 4 kB / 1.276 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.8978, allocations: 11.92 kB / 1.276 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.898, allocations: 102.4 kB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.898, allocations: 0 / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.898, allocations: 4 kB / 1.276 GB, free: 2.496 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.898, allocations: 3.938 kB / 1.276 GB, free: 2.492 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005643/0.8986, allocations: 388.9 kB / 1.276 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.8986, allocations: 8.031 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.8986, allocations: 4.938 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.8988, allocations: 164.3 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.8988, allocations: 4.375 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.8988, allocations: 8.359 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.8989, allocations: 46.23 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.899, allocations: 192 / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.899, allocations: 3.938 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.899, allocations: 3.938 kB / 1.277 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.48e-05/0.899, allocations: 8 kB / 1.277 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.8992, allocations: 165.6 kB / 1.277 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.604e-05/0.8993, allocations: 26.58 kB / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.8993, allocations: 12.94 kB / 1.277 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.8993, allocations: 4 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.8995, allocations: 63.36 kB / 1.277 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.8995, allocations: 0 / 1.277 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0002316/0.8997, allocations: 77.55 kB / 1.277 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.8997, allocations: 51.41 kB / 1.277 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.184e-05/0.8998, allocations: 105.8 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.8999, allocations: 29.7 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.8999, allocations: 84.14 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.8999, allocations: 15.91 kB / 1.277 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.9, allocations: 25.64 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.9001, allocations: 314.8 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.9001, allocations: 8.5 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.627e-05/0.9002, allocations: 40.28 kB / 1.278 GB, free: 0.6211 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.588e-05/0.9003, allocations: 56.23 kB / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.9003, allocations: 0 / 1.278 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001196/0.9005, allocations: 81.55 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.9005, allocations: 12.06 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.9005, allocations: 0 / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.9005, allocations: 4 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.309e-05/0.9006, allocations: 11.94 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.9006, allocations: 0 / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.028e-05/0.9006, allocations: 15.88 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.9006, allocations: 4 kB / 1.278 GB, free: 428 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (8): * Single equations (assignments): 8 * 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.381e-05/0.9007, allocations: 109.8 kB / 1.278 GB, free: 308 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.9007, allocations: 7.938 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.193e-05/0.9007, allocations: 11.56 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.9007, allocations: 0 / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.9007, allocations: 0 / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9007, allocations: 0 / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.9009, allocations: 157.7 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9009, allocations: 7.938 kB / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.686e-05/0.9009, allocations: 0 / 1.278 GB, free: 76 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.9009, allocations: 7.938 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.9009, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9009, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.9009, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.9011, allocations: 101.2 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.9011, allocations: 81.11 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.9012, allocations: 3.75 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.9012, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.9012, allocations: 4.031 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.9012, allocations: 7.984 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.933e-05/0.9012, allocations: 87.34 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9012, allocations: 4 kB / 1.278 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002537/0.9015, allocations: 31.88 kB / 1.278 GB, free: 15.71 MB / 0.9825 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 (5): * Single equations (assignments): 3 * 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.0003802/0.9019, allocations: 168.9 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.902, allocations: 31.92 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.902, allocations: 256 / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.108e-05/0.902, allocations: 19.94 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.9022, allocations: 4 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.9025, allocations: 132.8 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003307/0.9028, allocations: 0.6807 MB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.862e-05/0.9028, allocations: 0 / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.9028, allocations: 11.44 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.9028, allocations: 0 / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of Templates: time 0.003847/0.9067, allocations: 1.105 MB / 1.281 GB, free: 13.53 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.BaseClasses.Validation.Logit2D.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,seed,t0,time,y [Calling sys.exit(0), Time elapsed: 8.70661928318441]