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) 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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007957/0.007957, allocations: 103.2 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.692/2.692, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 59.91 kB / 1.054 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9178/0.9192, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.004166/0.9235, allocations: 1.393 MB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003627/0.9271, allocations: 1.935 MB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.64e-05/0.9272, allocations: 4 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.929, allocations: 385 kB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.441e-05/0.9291, allocations: 19.86 kB / 1.211 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.923e-06/0.9291, allocations: 0 / 1.211 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.9294, allocations: 127.1 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.878e-05/0.9295, allocations: 29.48 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.842e-05/0.9295, allocations: 43.84 kB / 1.212 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.9297, allocations: 55.72 kB / 1.212 GB, free: 9.633 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.9297, allocations: 4 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004702/0.9302, allocations: 183.9 kB / 1.212 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.182e-05/0.9302, allocations: 31.83 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/0.9303, allocations: 75.62 kB / 1.212 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004259/0.9308, allocations: 284.5 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.9308, allocations: 7.984 kB / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9308, allocations: 0 / 1.212 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.9308, allocations: 0 / 1.212 GB, free: 9.062 MB / 0.9356 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.0006947/0.9315, allocations: 494.5 kB / 1.213 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.9315, allocations: 8.031 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.9317, allocations: 96.03 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.9319, allocations: 295.3 kB / 1.213 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.9321, allocations: 150.9 kB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.9321, allocations: 154.9 kB / 1.213 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.336e-05/0.9322, allocations: 105.1 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.672e-05/0.9323, allocations: 75.28 kB / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/0.9323, allocations: 154.6 kB / 1.214 GB, free: 7.465 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-05/0.9324, allocations: 154.6 kB / 1.214 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.07e-05/0.9324, allocations: 158.5 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.9328, allocations: 0.5055 MB / 1.214 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.603e-05/0.9329, allocations: 177.1 kB / 1.215 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.9329, allocations: 80.14 kB / 1.215 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.9329, allocations: 75.28 kB / 1.215 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.346e-05/0.933, allocations: 113.7 kB / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.933, allocations: 0 / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001724/0.9332, allocations: 49.5 kB / 1.215 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/0.9332, allocations: 130.7 kB / 1.215 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003415/0.9336, allocations: 322.3 kB / 1.215 GB, free: 5.621 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.9336, allocations: 25.7 kB / 1.215 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.9337, allocations: 116.4 kB / 1.215 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-06/0.9337, allocations: 0 / 1.215 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.9338, allocations: 61.69 kB / 1.215 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.934, allocations: 330.8 kB / 1.216 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.9341, allocations: 63.95 kB / 1.216 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.9342, allocations: 133.7 kB / 1.216 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.9344, allocations: 205.9 kB / 1.216 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.9344, allocations: 4 kB / 1.216 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004183/0.9349, allocations: 237.2 kB / 1.216 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.9349, allocations: 12.05 kB / 1.216 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.9349, allocations: 4 kB / 1.216 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.9349, allocations: 0 / 1.216 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-06/0.9349, allocations: 4 kB / 1.216 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.935, allocations: 3.938 kB / 1.216 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.9351, allocations: 35.53 kB / 1.216 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.9351, allocations: 4 kB / 1.216 GB, free: 4.332 MB / 0.9356 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.0002431/0.9353, allocations: 229 kB / 1.217 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.9354, allocations: 120.7 kB / 1.217 GB, free: 3.973 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.916e-05/0.9355, allocations: 113.8 kB / 1.217 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.082e-05/0.9356, allocations: 184.2 kB / 1.217 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-05/0.9356, allocations: 180.3 kB / 1.217 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-05/0.9357, allocations: 180.2 kB / 1.217 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/0.936, allocations: 457.2 kB / 1.218 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.49e-05/0.936, allocations: 105 kB / 1.218 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.9361, allocations: 108.9 kB / 1.218 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-05/0.9361, allocations: 176.3 kB / 1.218 GB, free: 2.391 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.01e-05/0.9362, allocations: 188.2 kB / 1.218 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.431e-05/0.9363, allocations: 180.3 kB / 1.219 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.338e-05/0.9364, allocations: 180.3 kB / 1.219 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001479/0.9365, allocations: 311.6 kB / 1.219 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.9366, allocations: 209.8 kB / 1.219 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.265e-05/0.9367, allocations: 176.3 kB / 1.219 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.9369, allocations: 105 kB / 1.22 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.937, allocations: 188.2 kB / 1.22 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.471e-05/0.937, allocations: 101 kB / 1.22 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002055/0.9372, allocations: 209.9 kB / 1.22 GB, free: 496 kB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9372, allocations: 4 kB / 1.22 GB, free: 492 kB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003894/0.9376, allocations: 59.98 kB / 1.22 GB, free: 432 kB / 0.9356 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.0004339/0.9381, allocations: 282.7 kB / 1.22 GB, free: 140 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.9383, allocations: 107.8 kB / 1.22 GB, free: 32 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9383, allocations: 0 / 1.22 GB, free: 32 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.9383, allocations: 448 / 1.22 GB, free: 32 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004987/0.9388, allocations: 464.2 kB / 1.221 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000633/0.9394, allocations: 401 kB / 1.221 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.9399, allocations: 0.7431 MB / 1.222 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.66e-05/0.9399, allocations: 4 kB / 1.222 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.9399, allocations: 7.438 kB / 1.222 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.9399, allocations: 3.938 kB / 1.222 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of Templates: time 0.005711/0.9456, allocations: 2.296 MB / 1.224 GB, free: 12.09 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches