Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.001269/0.001269, allocations: 106.7 kB / 18.19 MB, free: 3.879 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.001316/0.001316, allocations: 189.9 kB / 21.34 MB, free: 0.7383 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.379/1.379, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.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.965/2.965, allocations: 489.7 MB / 0.7761 GB, free: 33.55 MB / 0.6231 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.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=511,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 71.77 kB / 1.127 GB, free: 36.87 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2979, allocations: 172.1 MB / 1.295 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.002346/0.3003, allocations: 1.206 MB / 1.296 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000791/0.3011, allocations: 385.5 kB / 1.296 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.3011, allocations: 0 / 1.296 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.241e-05/0.3011, allocations: 4 kB / 1.296 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.613e-05/0.3011, allocations: 3.938 kB / 1.296 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.3016, allocations: 95.7 kB / 1.296 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.617e-05/0.3017, allocations: 19.92 kB / 1.296 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.3017, allocations: 4 kB / 1.296 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.659e-05/0.3017, allocations: 4 kB / 1.296 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.691e-05/0.3018, allocations: 7.922 kB / 1.297 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.3018, allocations: 0 / 1.297 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002001/0.302, allocations: 107.8 kB / 1.297 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.302, allocations: 3.984 kB / 1.297 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.489e-05/0.302, allocations: 8 kB / 1.297 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.3022, allocations: 83.77 kB / 1.297 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3022, allocations: 0 / 1.297 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3022, allocations: 0 / 1.297 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3022, allocations: 0 / 1.297 GB, free: 9.812 MB / 0.9981 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.00053/0.3027, allocations: 373 kB / 1.297 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3028, allocations: 12.03 kB / 1.297 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.3028, allocations: 0.9375 kB / 1.297 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.3029, allocations: 164.4 kB / 1.297 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3029, allocations: 12.38 kB / 1.297 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.303, allocations: 4.312 kB / 1.297 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.546e-05/0.3031, allocations: 34.25 kB / 1.297 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3031, allocations: 8.125 kB / 1.297 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3031, allocations: 3.938 kB / 1.297 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3031, allocations: 0 / 1.297 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.979e-05/0.3031, allocations: 7.984 kB / 1.297 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.3033, allocations: 157.6 kB / 1.297 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.215e-05/0.3034, allocations: 34.56 kB / 1.297 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.885e-05/0.3034, allocations: 16.92 kB / 1.297 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.3034, allocations: 0 / 1.297 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.3035, allocations: 55.34 kB / 1.298 GB, free: 8.773 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3035, allocations: 4 kB / 1.298 GB, free: 8.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001943/0.3037, allocations: 65.61 kB / 1.298 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.3038, allocations: 63.41 kB / 1.298 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.623e-05/0.3039, allocations: 97.8 kB / 1.298 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3039, allocations: 29.7 kB / 1.298 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.794e-05/0.3039, allocations: 84.14 kB / 1.298 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.657e-05/0.3039, allocations: 3.953 kB / 1.298 GB, free: 8.395 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.304, allocations: 21.72 kB / 1.298 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3041, allocations: 318.8 kB / 1.298 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.199e-05/0.3042, allocations: 12.12 kB / 1.298 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.352e-05/0.3042, allocations: 39.36 kB / 1.298 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.385e-05/0.3043, allocations: 39.38 kB / 1.298 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3043, allocations: 0 / 1.298 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001094/0.3044, allocations: 69.62 kB / 1.298 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3044, allocations: 7.938 kB / 1.298 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3044, allocations: 0 / 1.298 GB, free: 7.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3044, allocations: 4 kB / 1.298 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.237e-05/0.3045, allocations: 11.98 kB / 1.298 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.278e-06/0.3045, allocations: 4 kB / 1.298 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.243e-05/0.3045, allocations: 0 / 1.298 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.3045, allocations: 4 kB / 1.298 GB, free: 7.828 MB / 0.9981 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.412e-05/0.3046, allocations: 114.6 kB / 1.298 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.3046, allocations: 15.89 kB / 1.299 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.789e-05/0.3046, allocations: 3.5 kB / 1.299 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3046, allocations: 3.938 kB / 1.299 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3046, allocations: 3.984 kB / 1.299 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3046, allocations: 0 / 1.299 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.3048, allocations: 149.7 kB / 1.299 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3048, allocations: 0 / 1.299 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.277e-05/0.3048, allocations: 4 kB / 1.299 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.3048, allocations: 3.938 kB / 1.299 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.3048, allocations: 4 kB / 1.299 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3048, allocations: 7.984 kB / 1.299 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3048, allocations: 0 / 1.299 GB, free: 7.465 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.3049, allocations: 89.05 kB / 1.299 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.305, allocations: 77.39 kB / 1.299 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.305, allocations: 3.938 kB / 1.299 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.911e-05/0.305, allocations: 0 / 1.299 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.305, allocations: 7.984 kB / 1.299 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.3051, allocations: 11.92 kB / 1.299 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.551e-05/0.3051, allocations: 79.28 kB / 1.299 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3051, allocations: 0 / 1.299 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002404/0.3053, allocations: 35.88 kB / 1.299 GB, free: 7.129 MB / 0.9981 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.0003354/0.3057, allocations: 146.2 kB / 1.299 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001241/0.3058, allocations: 36.02 kB / 1.299 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3058, allocations: 4 kB / 1.299 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-05/0.3058, allocations: 7.984 kB / 1.299 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.306, allocations: 4 kB / 1.299 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002573/0.3062, allocations: 130.5 kB / 1.299 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.3065, allocations: 0.6768 MB / 1.3 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.3065, allocations: 7.438 kB / 1.3 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of SimCode: time 3.4e-07/0.3065, allocations: 7.938 kB / 1.3 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of Templates: time 0.00295/0.3095, allocations: 1.158 MB / 1.301 GB, free: 4.902 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_BinaryVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches