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 12.0.0-master/package.mo", uses=false) 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=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.001216/0.001216, allocations: 108 kB / 15.61 MB, free: 152 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.001522/0.001523, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.716/2.716, allocations: 472.7 MB / 0.7452 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002107, allocations: 62.84 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4191, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.003098/0.4223, allocations: 1.391 MB / 1.07 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.4246, allocations: 1.931 MB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.167e-05/0.4247, allocations: 4 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.4258, allocations: 389 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.105e-05/0.4258, allocations: 27.84 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.057e-06/0.4258, allocations: 0 / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.426, allocations: 119.2 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.906e-05/0.4261, allocations: 21.5 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.687e-05/0.4262, allocations: 47.78 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.4263, allocations: 55.78 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.4263, allocations: 4 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004799/0.4268, allocations: 179.9 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.415e-05/0.4269, allocations: 31.84 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.701e-05/0.427, allocations: 79.55 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004334/0.4274, allocations: 279.2 kB / 1.073 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.4274, allocations: 0 / 1.073 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4274, allocations: 3.938 kB / 1.073 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.4274, allocations: 4 kB / 1.073 GB, free: 5.895 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.0006916/0.4281, allocations: 494.5 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.4282, allocations: 8.031 kB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.4283, allocations: 96.03 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.4285, allocations: 291.3 kB / 1.074 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/0.4286, allocations: 154.9 kB / 1.074 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.4287, allocations: 154.9 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.767e-05/0.4287, allocations: 105.1 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.4288, allocations: 75.28 kB / 1.074 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-05/0.4288, allocations: 154.6 kB / 1.074 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.803e-05/0.4289, allocations: 154.6 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.963e-05/0.4289, allocations: 158.5 kB / 1.074 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003669/0.4293, allocations: 0.5132 MB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.635e-05/0.4294, allocations: 169.1 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.867e-05/0.4294, allocations: 80.14 kB / 1.075 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.4295, allocations: 79.28 kB / 1.075 GB, free: 3.09 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.4295, allocations: 109.8 kB / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.001e-06/0.4295, allocations: 0 / 1.075 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001656/0.4297, allocations: 53.44 kB / 1.075 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.4298, allocations: 126.7 kB / 1.076 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000313/0.4301, allocations: 326.3 kB / 1.076 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.4301, allocations: 25.7 kB / 1.076 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.082e-05/0.4302, allocations: 120.5 kB / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.4302, allocations: 0 / 1.076 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.671e-05/0.4303, allocations: 57.69 kB / 1.076 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.4304, allocations: 334.8 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.949e-05/0.4305, allocations: 63.73 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001132/0.4306, allocations: 118 kB / 1.077 GB, free: 1.699 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.4308, allocations: 213.8 kB / 1.077 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4308, allocations: 0 / 1.077 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003832/0.4312, allocations: 233.1 kB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.4312, allocations: 4 kB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.4312, allocations: 4 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4313, allocations: 3.938 kB / 1.077 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.268e-06/0.4313, allocations: 12.14 kB / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4313, allocations: 8 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.4314, allocations: 27.59 kB / 1.077 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.4314, allocations: 4 kB / 1.077 GB, free: 1.172 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.0002093/0.4316, allocations: 230.8 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-05/0.4317, allocations: 120.7 kB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.79e-05/0.4318, allocations: 113.9 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.495e-05/0.4318, allocations: 188.2 kB / 1.078 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.895e-05/0.4319, allocations: 184.2 kB / 1.078 GB, free: 324 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.665e-05/0.432, allocations: 176.3 kB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.4322, allocations: 457.1 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.293e-05/0.4323, allocations: 101 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.4323, allocations: 108.9 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.794e-05/0.4324, allocations: 184.2 kB / 1.079 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/0.4324, allocations: 176.3 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.688e-05/0.4325, allocations: 188.2 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.579e-05/0.4326, allocations: 176.3 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.4327, allocations: 319.6 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.161e-05/0.4328, allocations: 201.8 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.511e-05/0.4329, allocations: 180.2 kB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001186/0.433, allocations: 105 kB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.4331, allocations: 188.1 kB / 1.08 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.4331, allocations: 109.3 kB / 1.08 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002042/0.4333, allocations: 213.9 kB / 1.081 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4333, allocations: 0 / 1.081 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003416/0.4337, allocations: 67.98 kB / 1.081 GB, free: 13.24 MB / 0.8419 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.0003184/0.434, allocations: 279 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.4342, allocations: 99.89 kB / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4342, allocations: 0 / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.4342, allocations: 0 / 1.081 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.4346, allocations: 469.5 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.4351, allocations: 413 kB / 1.082 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.4354, allocations: 0.74 MB / 1.083 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.399e-05/0.4354, allocations: 7.938 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.819e-05/0.4354, allocations: 7.438 kB / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4354, allocations: 0 / 1.083 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of Templates: time 0.00513/0.4406, allocations: 2.296 MB / 1.085 GB, free: 8.906 MB / 0.8419 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