Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.0016/0.0016, allocations: 104.5 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.001776/0.001776, allocations: 188.4 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.447/1.447, allocations: 225.6 MB / 250 MB, free: 13.41 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 3.14/3.14, allocations: 489.7 MB / 0.7761 GB, free: 33.43 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.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 68.66 kB / 1.127 GB, free: 36.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3835/0.3854, allocations: 172.1 MB / 1.295 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002854/0.3882, allocations: 1.412 MB / 1.296 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002588/0.3908, allocations: 1.943 MB / 1.298 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.3908, allocations: 0 / 1.298 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.3919, allocations: 393.9 kB / 1.298 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.239e-05/0.392, allocations: 19.86 kB / 1.299 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.288e-06/0.392, allocations: 0 / 1.299 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.3922, allocations: 127.2 kB / 1.299 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.777e-05/0.3923, allocations: 9.5 kB / 1.299 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.345e-05/0.3924, allocations: 51.72 kB / 1.299 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.3925, allocations: 59.72 kB / 1.299 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.3925, allocations: 11.98 kB / 1.299 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005041/0.393, allocations: 179.9 kB / 1.299 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.3931, allocations: 31.84 kB / 1.299 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.3932, allocations: 71.61 kB / 1.299 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.3936, allocations: 290.7 kB / 1.299 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3936, allocations: 0 / 1.299 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3937, allocations: 0 / 1.299 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.3937, allocations: 4 kB / 1.299 GB, free: 7.109 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000796/0.3945, allocations: 0.4905 MB / 1.3 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3945, allocations: 12.03 kB / 1.3 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.3947, allocations: 92.12 kB / 1.3 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.395, allocations: 295.4 kB / 1.3 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.555e-05/0.395, allocations: 154.9 kB / 1.3 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.751e-05/0.3951, allocations: 154.9 kB / 1.3 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.3952, allocations: 113 kB / 1.301 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.3953, allocations: 75.28 kB / 1.301 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.579e-05/0.3953, allocations: 154.5 kB / 1.301 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.407e-05/0.3954, allocations: 150.6 kB / 1.301 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.557e-05/0.3955, allocations: 154.6 kB / 1.301 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.3959, allocations: 0.5056 MB / 1.302 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.396, allocations: 173.1 kB / 1.302 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/0.3961, allocations: 84.14 kB / 1.302 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.501e-05/0.3961, allocations: 75.28 kB / 1.302 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.821e-05/0.3962, allocations: 113.8 kB / 1.302 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.3962, allocations: 0 / 1.302 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001789/0.3963, allocations: 45.61 kB / 1.302 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/0.3964, allocations: 130.7 kB / 1.302 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.3968, allocations: 326.3 kB / 1.302 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.3968, allocations: 25.7 kB / 1.303 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.164e-05/0.3969, allocations: 120.4 kB / 1.303 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.3969, allocations: 0 / 1.303 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/0.397, allocations: 65.69 kB / 1.303 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3972, allocations: 330.8 kB / 1.303 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.936e-05/0.3972, allocations: 59.97 kB / 1.303 GB, free: 3.043 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.3974, allocations: 114 kB / 1.303 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.3977, allocations: 221.8 kB / 1.303 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3977, allocations: 0 / 1.303 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004415/0.3981, allocations: 237.3 kB / 1.304 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3981, allocations: 8 kB / 1.304 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3981, allocations: 3.938 kB / 1.304 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3981, allocations: 4 kB / 1.304 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.323e-06/0.3981, allocations: 0 / 1.304 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3982, allocations: 7.984 kB / 1.304 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.3983, allocations: 31.95 kB / 1.304 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.3983, allocations: 8 kB / 1.304 GB, free: 2.371 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0002467/0.3985, allocations: 225 kB / 1.304 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.665e-05/0.3986, allocations: 120.8 kB / 1.304 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.447e-05/0.3987, allocations: 109.8 kB / 1.304 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.712e-05/0.3988, allocations: 180.3 kB / 1.304 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.241e-05/0.3989, allocations: 188.2 kB / 1.304 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.151e-05/0.399, allocations: 184.2 kB / 1.305 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/0.3993, allocations: 449.2 kB / 1.305 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.94e-05/0.3994, allocations: 116.8 kB / 1.305 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.89e-05/0.3994, allocations: 104.9 kB / 1.305 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-05/0.3995, allocations: 180.3 kB / 1.305 GB, free: 436 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.666e-05/0.3996, allocations: 180.2 kB / 1.306 GB, free: 248 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.77e-05/0.3997, allocations: 180.3 kB / 1.306 GB, free: 60 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001019/0.3998, allocations: 188.2 kB / 1.306 GB, free: 15.87 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.4, allocations: 311.7 kB / 1.306 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.4001, allocations: 205.9 kB / 1.306 GB, free: 15.31 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.4002, allocations: 184.3 kB / 1.307 GB, free: 15.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.4004, allocations: 104.9 kB / 1.307 GB, free: 15.02 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.371e-05/0.4005, allocations: 176.3 kB / 1.307 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/0.4005, allocations: 105.3 kB / 1.307 GB, free: 14.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002239/0.4007, allocations: 217.8 kB / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4007, allocations: 4 kB / 1.307 GB, free: 14.51 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003732/0.4011, allocations: 67.88 kB / 1.307 GB, free: 14.44 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000377/0.4015, allocations: 274.9 kB / 1.308 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002013/0.4017, allocations: 83.89 kB / 1.308 GB, free: 14.08 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4017, allocations: 0 / 1.308 GB, free: 14.08 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.4017, allocations: 0 / 1.308 GB, free: 14.08 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.4021, allocations: 464.2 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006246/0.4028, allocations: 430.9 kB / 1.308 GB, free: 13.17 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.4032, allocations: 0.7392 MB / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.09e-05/0.4032, allocations: 11.44 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of SimCode: time 2.9e-07/0.4032, allocations: 0 / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of Templates: time 0.004586/0.4078, allocations: 2.354 MB / 1.311 GB, free: 10.05 MB / 1.014 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches