Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002262/0.002262, allocations: 219 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.159/3.159, allocations: 0.49 GB / 0.7959 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 61.34 kB / 1.155 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3326, allocations: 176.1 MB / 1.327 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002638/0.3353, allocations: 1.417 MB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002379/0.3377, allocations: 1.748 MB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.879e-05/0.3377, allocations: 0 / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.3387, allocations: 362 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.929e-05/0.3388, allocations: 19.84 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.008e-06/0.3388, allocations: 0 / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.339, allocations: 127.1 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.339, allocations: 5.688 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 6.422e-05/0.3391, allocations: 43.84 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.3392, allocations: 67.7 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.3392, allocations: 4 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003922/0.3396, allocations: 175.9 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.164e-05/0.3397, allocations: 35.83 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.179e-05/0.3398, allocations: 59.69 kB / 1.331 GB, free: 13.44 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004831/0.3402, allocations: 295 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.3402, allocations: 0 / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3402, allocations: 0 / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.3403, allocations: 3.984 kB / 1.331 GB, free: 13.15 MB / 1.029 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.0007447/0.341, allocations: 425.2 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.341, allocations: 12.03 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.576e-05/0.3411, allocations: 75.47 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.066e-05/0.3411, allocations: 114 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.3413, allocations: 100.1 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.3415, allocations: 237 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-05/0.3416, allocations: 154.9 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.823e-05/0.3417, allocations: 154.7 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.054e-05/0.3418, allocations: 116.9 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/0.3418, allocations: 79.28 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.062e-05/0.3419, allocations: 150.6 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.937e-05/0.3419, allocations: 150.6 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.333e-05/0.342, allocations: 154.6 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.3424, allocations: 484.8 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.857e-05/0.3425, allocations: 169.1 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.972e-05/0.3425, allocations: 84.08 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.3426, allocations: 75.28 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/0.3426, allocations: 113.8 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3426, allocations: 0 / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001852/0.3428, allocations: 53.59 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.069e-05/0.3429, allocations: 126.7 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003418/0.3432, allocations: 329.5 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3433, allocations: 25.7 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.3433, allocations: 120.5 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.3433, allocations: 0 / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.3434, allocations: 61.69 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.3436, allocations: 334.8 kB / 1.335 GB, free: 9.133 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.053e-05/0.3436, allocations: 63.95 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.3438, allocations: 117.7 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002485/0.344, allocations: 209.8 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.344, allocations: 4 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000434/0.3445, allocations: 241.3 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3445, allocations: 4 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3445, allocations: 0 / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.3445, allocations: 7.984 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.3445, allocations: 0 / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3445, allocations: 7.938 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.3446, allocations: 27.73 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.3446, allocations: 4 kB / 1.335 GB, free: 8.41 MB / 1.029 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.0002259/0.3449, allocations: 225.3 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.484e-05/0.345, allocations: 120.8 kB / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.835e-05/0.345, allocations: 117.7 kB / 1.336 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.74e-05/0.3451, allocations: 180.2 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-05/0.3452, allocations: 180.2 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.948e-05/0.3453, allocations: 180.3 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/0.3456, allocations: 420.2 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.744e-05/0.3456, allocations: 104.9 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.757e-05/0.3457, allocations: 112.9 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.428e-05/0.3457, allocations: 188.2 kB / 1.337 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.782e-05/0.3458, allocations: 180.3 kB / 1.337 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.289e-05/0.3459, allocations: 180.3 kB / 1.337 GB, free: 6.133 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-05/0.346, allocations: 180.2 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.3462, allocations: 331.5 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.731e-05/0.3462, allocations: 112.9 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.3464, allocations: 184.2 kB / 1.338 GB, free: 5.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.3465, allocations: 104.9 kB / 1.338 GB, free: 5.188 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.318e-05/0.3466, allocations: 176.3 kB / 1.338 GB, free: 5.008 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.044e-05/0.3466, allocations: 117.2 kB / 1.338 GB, free: 4.887 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002132/0.3468, allocations: 213.2 kB / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3468, allocations: 0 / 1.339 GB, free: 4.676 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003745/0.3472, allocations: 71.88 kB / 1.339 GB, free: 4.605 MB / 1.029 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.0006747/0.3479, allocations: 0.9178 MB / 1.34 GB, free: 3.66 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.3481, allocations: 80.27 kB / 1.34 GB, free: 3.582 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3481, allocations: 4.062 kB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/0.3481, allocations: 7.938 kB / 1.34 GB, free: 3.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.3485, allocations: 460.2 kB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.3513, allocations: 2.445 MB / 1.343 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.3514, allocations: 134.6 kB / 1.343 GB, free: 404 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.502e-05/0.3514, allocations: 8 kB / 1.343 GB, free: 396 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.838e-05/0.3515, allocations: 35.42 kB / 1.343 GB, free: 360 kB / 1.029 GB Notification: Performance of SimCode: time 7.01e-07/0.3515, allocations: 0 / 1.343 GB, free: 360 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.3783, allocations: 5.059 MB / 1.348 GB, free: 11.45 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.95, allocations: 17.45 kB / 1.348 GB, free: 11.44 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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 [Calling sys.exit(0), Time elapsed: 18.71154057397507]