Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 198.7 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.528/2.528, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 72.06 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2443, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002285/0.2466, allocations: 1.392 MB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.2488, allocations: 1.935 MB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.068e-05/0.2488, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000838/0.2497, allocations: 386.5 kB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.057e-05/0.2497, allocations: 19.84 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.266e-06/0.2497, allocations: 0 / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001845/0.2499, allocations: 127.1 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.25, allocations: 21.5 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.25, allocations: 39.86 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.606e-05/0.2501, allocations: 55.72 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.2502, allocations: 4 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004218/0.2506, allocations: 179.9 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.2506, allocations: 39.83 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.591e-05/0.2507, allocations: 75.55 kB / 1.068 GB, free: 9.93 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003995/0.2511, allocations: 291.1 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2511, allocations: 0 / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.62e-07/0.2511, allocations: 0 / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.2512, allocations: 0 / 1.069 GB, free: 9.645 MB / 0.8262 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.0006212/0.2518, allocations: 0.4906 MB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.2518, allocations: 8.031 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.818e-05/0.2519, allocations: 114 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.252, allocations: 92.03 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.2523, allocations: 287.4 kB / 1.069 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.027e-05/0.2523, allocations: 154.9 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.082e-05/0.2524, allocations: 150.9 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.259e-05/0.2525, allocations: 116.9 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.2525, allocations: 79.22 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.156e-05/0.2525, allocations: 150.6 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.758e-05/0.2526, allocations: 150.6 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.143e-05/0.2527, allocations: 150.6 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.253, allocations: 0.5132 MB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.291e-05/0.2531, allocations: 169.1 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.2532, allocations: 84.08 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.2532, allocations: 79.22 kB / 1.071 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/0.2532, allocations: 109.8 kB / 1.071 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.2533, allocations: 4 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001467/0.2534, allocations: 45.5 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.322e-05/0.2535, allocations: 126.7 kB / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/0.2538, allocations: 322.3 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.2538, allocations: 29.64 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.281e-05/0.2539, allocations: 116.4 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.2539, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.548e-05/0.254, allocations: 61.69 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.2541, allocations: 334.8 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.527e-05/0.2542, allocations: 63.95 kB / 1.072 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.2543, allocations: 110 kB / 1.072 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.2545, allocations: 213.8 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.2546, allocations: 0 / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003944/0.255, allocations: 241.1 kB / 1.073 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.255, allocations: 8 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.255, allocations: 80 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.255, allocations: 4 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.095e-06/0.255, allocations: 3.984 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.255, allocations: 7.984 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.969e-05/0.2551, allocations: 23.62 kB / 1.073 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.2551, allocations: 11.94 kB / 1.073 GB, free: 4.812 MB / 0.8262 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.0001707/0.2553, allocations: 237.2 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.2554, allocations: 120.7 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.533e-05/0.2555, allocations: 113.9 kB / 1.073 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.168e-05/0.2555, allocations: 188.2 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.887e-05/0.2556, allocations: 176.3 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-05/0.2557, allocations: 188.2 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.256, allocations: 449.2 kB / 1.074 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.111e-05/0.256, allocations: 108.9 kB / 1.074 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.2561, allocations: 105 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.618e-05/0.2561, allocations: 176.3 kB / 1.075 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.295e-05/0.2562, allocations: 184.2 kB / 1.075 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.576e-05/0.2563, allocations: 176.3 kB / 1.075 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-05/0.2564, allocations: 188.2 kB / 1.075 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.2565, allocations: 311.6 kB / 1.076 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.2566, allocations: 201.8 kB / 1.076 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.007e-05/0.2567, allocations: 184.3 kB / 1.076 GB, free: 1.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.2568, allocations: 108.9 kB / 1.076 GB, free: 1.457 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.243e-05/0.2569, allocations: 180.3 kB / 1.076 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.27e-05/0.257, allocations: 105.3 kB / 1.076 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001914/0.2572, allocations: 213.9 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2572, allocations: 0 / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003188/0.2575, allocations: 71.98 kB / 1.077 GB, free: 0.8867 MB / 0.8262 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.0005764/0.2581, allocations: 0.9222 MB / 1.077 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001555/0.2582, allocations: 99.8 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2582, allocations: 0 / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.656e-06/0.2583, allocations: 4 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.2586, allocations: 468.6 kB / 1.078 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.2609, allocations: 2.427 MB / 1.08 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.2613, allocations: 0.7507 MB / 1.081 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.296e-06/0.2613, allocations: 0 / 1.081 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.2613, allocations: 39.42 kB / 1.081 GB, free: 12 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.2613, allocations: 0 / 1.081 GB, free: 12 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3175/0.5788, allocations: 4.807 MB / 1.086 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.887/10.47, allocations: 4.688 kB / 1.086 GB, free: 7.32 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches