Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002064/0.002064, allocations: 113 kB / 17.6 MB, free: 4.684 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.002157/0.002157, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.516/1.516, allocations: 225.6 MB / 249.4 MB, free: 3.141 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.035/3.035, allocations: 496.2 MB / 0.7819 GB, free: 12.3 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.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 63.89 kB / 1.136 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24/1.242, allocations: 173.7 MB / 1.305 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.003992/1.246, allocations: 1.226 MB / 1.307 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001256/1.247, allocations: 467.8 kB / 1.307 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/1.247, allocations: 0 / 1.307 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/1.247, allocations: 5.031 kB / 1.307 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.007e-05/1.247, allocations: 0 / 1.307 GB, free: 15.55 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008664/1.248, allocations: 114.2 kB / 1.307 GB, free: 15.5 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.674e-05/1.248, allocations: 17.11 kB / 1.307 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.885e-05/1.248, allocations: 3.188 kB / 1.307 GB, free: 15.49 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.174e-05/1.248, allocations: 14.27 kB / 1.307 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/1.248, allocations: 10.28 kB / 1.307 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/1.248, allocations: 10.22 kB / 1.307 GB, free: 15.47 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/1.248, allocations: 118.8 kB / 1.307 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/1.248, allocations: 3.422 kB / 1.307 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/1.249, allocations: 12.69 kB / 1.307 GB, free: 15.43 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/1.249, allocations: 98.34 kB / 1.307 GB, free: 15.4 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/1.249, allocations: 0 / 1.307 GB, free: 15.4 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.334e-06/1.249, allocations: 1.828 kB / 1.307 GB, free: 15.4 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.115e-06/1.249, allocations: 0 / 1.307 GB, free: 15.4 MB / 1.014 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.0007067/1.25, allocations: 387.1 kB / 1.308 GB, free: 14.99 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.25, allocations: 12.91 kB / 1.308 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/1.25, allocations: 11.2 kB / 1.308 GB, free: 14.98 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/1.25, allocations: 171.2 kB / 1.308 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/1.25, allocations: 2.969 kB / 1.308 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/1.25, allocations: 3.156 kB / 1.308 GB, free: 14.78 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/1.25, allocations: 49.55 kB / 1.308 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/1.25, allocations: 192 / 1.308 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/1.25, allocations: 6.375 kB / 1.308 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/1.25, allocations: 1.219 kB / 1.308 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.607e-05/1.25, allocations: 8.766 kB / 1.308 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/1.25, allocations: 159.4 kB / 1.308 GB, free: 14.53 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.996e-05/1.25, allocations: 25.55 kB / 1.308 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/1.251, allocations: 15.7 kB / 1.308 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/1.251, allocations: 1.156 kB / 1.308 GB, free: 14.49 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/1.251, allocations: 63.64 kB / 1.308 GB, free: 14.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/1.251, allocations: 1.031 kB / 1.308 GB, free: 14.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=5): time 0.0002845/1.251, allocations: 80.14 kB / 1.308 GB, free: 14.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/1.251, allocations: 53.06 kB / 1.308 GB, free: 14.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/1.251, allocations: 102.9 kB / 1.309 GB, free: 14.22 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/1.251, allocations: 26.95 kB / 1.309 GB, free: 14.19 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/1.251, allocations: 85.89 kB / 1.309 GB, free: 14.1 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/1.251, allocations: 15.44 kB / 1.309 GB, free: 14.09 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/1.251, allocations: 20.66 kB / 1.309 GB, free: 14.07 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.252, allocations: 323.1 kB / 1.309 GB, free: 13.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.796e-05/1.252, allocations: 6.438 kB / 1.309 GB, free: 13.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.913e-05/1.252, allocations: 38.09 kB / 1.309 GB, free: 13.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.977e-05/1.252, allocations: 57.95 kB / 1.309 GB, free: 13.65 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.252, allocations: 0 / 1.309 GB, free: 13.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001343/1.252, allocations: 77.78 kB / 1.309 GB, free: 13.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/1.252, allocations: 9.906 kB / 1.309 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.252, allocations: 1.641 kB / 1.309 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.252, allocations: 2.25 kB / 1.309 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.167e-05/1.252, allocations: 8.5 kB / 1.309 GB, free: 13.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.252, allocations: 13.88 kB / 1.309 GB, free: 13.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.481e-05/1.252, allocations: 10.11 kB / 1.309 GB, free: 13.58 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/1.252, allocations: 4.484 kB / 1.309 GB, free: 13.58 MB / 1.014 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 0.0001035/1.252, allocations: 113.9 kB / 1.309 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/1.252, allocations: 6.391 kB / 1.309 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.521e-05/1.252, allocations: 4.125 kB / 1.309 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/1.252, allocations: 1.188 kB / 1.309 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.252, allocations: 9.156 kB / 1.309 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/1.252, allocations: 0.5625 kB / 1.309 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/1.252, allocations: 160.5 kB / 1.309 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.252, allocations: 0 / 1.309 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.316e-05/1.252, allocations: 3.891 kB / 1.309 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/1.252, allocations: 3.938 kB / 1.309 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/1.252, allocations: 1.875 kB / 1.309 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.252, allocations: 1.781 kB / 1.309 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.252, allocations: 0 / 1.309 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/1.253, allocations: 95.84 kB / 1.31 GB, free: 13.16 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/1.253, allocations: 87.78 kB / 1.31 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/1.253, allocations: 5.531 kB / 1.31 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.385e-05/1.253, allocations: 4 kB / 1.31 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/1.253, allocations: 3.484 kB / 1.31 GB, free: 13.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/1.253, allocations: 2.766 kB / 1.31 GB, free: 13.05 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.032e-05/1.253, allocations: 80.31 kB / 1.31 GB, free: 12.98 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/1.253, allocations: 0 / 1.31 GB, free: 12.98 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000318/1.253, allocations: 38.25 kB / 1.31 GB, free: 12.97 MB / 1.014 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.000448/1.254, allocations: 160.8 kB / 1.31 GB, free: 12.86 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001372/1.254, allocations: 36.33 kB / 1.31 GB, free: 12.85 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/1.254, allocations: 0 / 1.31 GB, free: 12.85 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.111e-05/1.254, allocations: 22.53 kB / 1.31 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/1.254, allocations: 4.141 kB / 1.31 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/1.254, allocations: 136.3 kB / 1.31 GB, free: 12.71 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/1.255, allocations: 0.6789 MB / 1.311 GB, free: 12.01 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.966e-05/1.255, allocations: 2.969 kB / 1.311 GB, free: 12.01 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/1.255, allocations: 10.16 kB / 1.311 GB, free: 12 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.255, allocations: 3.938 kB / 1.311 GB, free: 12 MB / 1.014 GB Notification: Performance of Templates: time 0.005116/1.26, allocations: 1.104 MB / 1.312 GB, free: 11.87 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_Logit2D.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.935927717015147]