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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 225.6 MB / 249.9 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.7/2.7, allocations: 489.7 MB / 0.7761 GB, free: 2.398 MB / 0.6075 GB [Timeout remaining time 87] 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=511,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit2D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.Logit2D") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 63.89 kB / 1.127 GB, free: 5.145 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8887/0.8907, allocations: 172 MB / 1.295 GB, free: 38.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit2D): time 0.001815/0.8925, allocations: 1.23 MB / 1.296 GB, free: 37.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0006858/0.8932, allocations: 453.9 kB / 1.296 GB, free: 37.44 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.8932, allocations: 0 / 1.296 GB, free: 37.44 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.324e-05/0.8932, allocations: 0 / 1.296 GB, free: 37.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.809e-05/0.8932, allocations: 3.938 kB / 1.296 GB, free: 37.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004402/0.8937, allocations: 115.5 kB / 1.297 GB, free: 37.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.8937, allocations: 22.77 kB / 1.297 GB, free: 37.37 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.8938, allocations: 2.906 kB / 1.297 GB, free: 37.37 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.839e-05/0.8938, allocations: 9.688 kB / 1.297 GB, free: 37.37 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.549e-05/0.8938, allocations: 14 kB / 1.297 GB, free: 37.36 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.8938, allocations: 0 / 1.297 GB, free: 37.36 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.894, allocations: 126.1 kB / 1.297 GB, free: 37.32 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.894, allocations: 3.891 kB / 1.297 GB, free: 37.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.8941, allocations: 11.06 kB / 1.297 GB, free: 37.31 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.8942, allocations: 97.88 kB / 1.297 GB, free: 37.29 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8942, allocations: 0 / 1.297 GB, free: 37.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8942, allocations: 0 / 1.297 GB, free: 37.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.8942, allocations: 0 / 1.297 GB, free: 37.29 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003866/0.8946, allocations: 391 kB / 1.297 GB, free: 36.88 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.8946, allocations: 12.25 kB / 1.297 GB, free: 36.87 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.121e-05/0.8947, allocations: 11.48 kB / 1.297 GB, free: 36.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.821e-05/0.8947, allocations: 171.2 kB / 1.297 GB, free: 36.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.8948, allocations: 384 / 1.297 GB, free: 36.66 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.8948, allocations: 6.906 kB / 1.297 GB, free: 36.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.28e-05/0.8949, allocations: 42.67 kB / 1.297 GB, free: 36.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.8949, allocations: 192 / 1.297 GB, free: 36.62 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.8949, allocations: 6.719 kB / 1.297 GB, free: 36.62 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.8949, allocations: 3.938 kB / 1.297 GB, free: 36.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.124e-05/0.8949, allocations: 6.406 kB / 1.297 GB, free: 36.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001064/0.895, allocations: 162.5 kB / 1.298 GB, free: 36.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.157e-05/0.8951, allocations: 23.53 kB / 1.298 GB, free: 36.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.8951, allocations: 18.45 kB / 1.298 GB, free: 36.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-06/0.8951, allocations: 0 / 1.298 GB, free: 36.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.8952, allocations: 57.3 kB / 1.298 GB, free: 36.32 MB / 1.061 GB Notification: Performance of pre-optimization done (n=5): time 1.203e-06/0.8952, allocations: 0 / 1.298 GB, free: 36.32 MB / 1.061 GB Notification: Performance of matching and sorting (n=5): time 0.0001844/0.8954, allocations: 85.83 kB / 1.298 GB, free: 36.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.188e-05/0.8954, allocations: 51.41 kB / 1.298 GB, free: 36.21 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.155e-05/0.8955, allocations: 106.7 kB / 1.298 GB, free: 36.1 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.106e-06/0.8955, allocations: 28.45 kB / 1.298 GB, free: 36.07 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.138e-05/0.8955, allocations: 87.38 kB / 1.298 GB, free: 35.98 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.8955, allocations: 14.67 kB / 1.298 GB, free: 35.97 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.8956, allocations: 19.5 kB / 1.298 GB, free: 35.95 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.8956, allocations: 318.2 kB / 1.298 GB, free: 35.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.8956, allocations: 9.625 kB / 1.298 GB, free: 35.63 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.764e-05/0.8957, allocations: 39.59 kB / 1.298 GB, free: 35.59 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.1e-05/0.8957, allocations: 59.45 kB / 1.299 GB, free: 35.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8957, allocations: 0 / 1.299 GB, free: 35.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.67e-05/0.8958, allocations: 75.06 kB / 1.299 GB, free: 35.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.8958, allocations: 10.78 kB / 1.299 GB, free: 35.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8958, allocations: 2.906 kB / 1.299 GB, free: 35.48 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.8958, allocations: 3.328 kB / 1.299 GB, free: 35.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.611e-05/0.8959, allocations: 9.062 kB / 1.299 GB, free: 35.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.8959, allocations: 2.812 kB / 1.299 GB, free: 35.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.81e-05/0.8959, allocations: 8.062 kB / 1.299 GB, free: 35.47 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.8959, allocations: 3.297 kB / 1.299 GB, free: 35.47 MB / 1.061 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 4.384e-05/0.896, allocations: 118.9 kB / 1.299 GB, free: 35.35 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.896, allocations: 15.2 kB / 1.299 GB, free: 35.34 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.896, allocations: 6.438 kB / 1.299 GB, free: 35.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.896, allocations: 0 / 1.299 GB, free: 35.34 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.896, allocations: 4 kB / 1.299 GB, free: 35.34 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.896, allocations: 0 / 1.299 GB, free: 35.34 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.626e-05/0.8961, allocations: 161.9 kB / 1.299 GB, free: 35.14 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8961, allocations: 7.938 kB / 1.299 GB, free: 35.13 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-05/0.8961, allocations: 2.844 kB / 1.299 GB, free: 35.13 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.8961, allocations: 3.938 kB / 1.299 GB, free: 35.13 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.8961, allocations: 2.844 kB / 1.299 GB, free: 35.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.8961, allocations: 0 / 1.299 GB, free: 35.13 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8961, allocations: 0 / 1.299 GB, free: 35.13 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.8962, allocations: 91.75 kB / 1.299 GB, free: 35.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.8962, allocations: 83.69 kB / 1.299 GB, free: 34.95 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.8963, allocations: 3.938 kB / 1.299 GB, free: 34.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.8963, allocations: 9.812 kB / 1.299 GB, free: 34.95 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.8963, allocations: 4 kB / 1.299 GB, free: 34.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.8963, allocations: 2.625 kB / 1.299 GB, free: 34.94 MB / 1.061 GB Notification: Performance of sorting global known variables: time 1.97e-05/0.8963, allocations: 81.33 kB / 1.299 GB, free: 34.87 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8963, allocations: 0 / 1.299 GB, free: 34.87 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000238/0.8966, allocations: 36.97 kB / 1.299 GB, free: 34.86 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 (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.0002975/0.8969, allocations: 161.1 kB / 1.299 GB, free: 34.75 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.897, allocations: 35.31 kB / 1.299 GB, free: 34.73 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.897, allocations: 0 / 1.299 GB, free: 34.73 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.612e-05/0.897, allocations: 16.59 kB / 1.299 GB, free: 34.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.8971, allocations: 6.312 kB / 1.299 GB, free: 34.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002014/0.8973, allocations: 157.2 kB / 1.3 GB, free: 34.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.32e-05/0.8974, allocations: 0.6861 MB / 1.3 GB, free: 33.87 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.8974, allocations: 10.38 kB / 1.3 GB, free: 33.87 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.8974, allocations: 0 / 1.3 GB, free: 33.87 MB / 1.061 GB Notification: Performance of Templates: time 0.00259/0.9, allocations: 1.271 MB / 1.302 GB, free: 33.75 MB / 1.061 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/jenkins1/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] Reference file matches