Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: 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_10_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_10_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.007122/0.007122, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001226/0.001226, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.7/2.7, allocations: 437 MB / 0.7105 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 60.14 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4145, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.002676/0.4173, allocations: 1.403 MB / 1.168 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00233/0.4196, allocations: 1.927 MB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.4197, allocations: 0 / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.4208, allocations: 393.9 kB / 1.17 GB, free: 3.055 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.4208, allocations: 15.91 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.36e-06/0.4208, allocations: 0 / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.4211, allocations: 123.2 kB / 1.17 GB, free: 2.918 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.984e-05/0.4212, allocations: 25.5 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.467e-05/0.4212, allocations: 43.8 kB / 1.17 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.4214, allocations: 63.64 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.4214, allocations: 4 kB / 1.17 GB, free: 2.777 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004952/0.4219, allocations: 187.9 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.974e-05/0.422, allocations: 23.91 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.4221, allocations: 75.55 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.4225, allocations: 294.7 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4226, allocations: 0 / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4226, allocations: 0 / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.4226, allocations: 0 / 1.171 GB, free: 2.207 MB / 0.92 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.0007719/0.4233, allocations: 498.3 kB / 1.172 GB, free: 1.672 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.4234, allocations: 15.98 kB / 1.172 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.4236, allocations: 100.1 kB / 1.172 GB, free: 1.559 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.4238, allocations: 287.4 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.524e-05/0.4239, allocations: 150.9 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.424, allocations: 158.9 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.245e-05/0.424, allocations: 109 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.4241, allocations: 79.28 kB / 1.172 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.4241, allocations: 150.6 kB / 1.173 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-05/0.4242, allocations: 150.6 kB / 1.173 GB, free: 460 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.419e-05/0.4242, allocations: 158.5 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.4246, allocations: 0.4978 MB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.606e-05/0.4247, allocations: 177.1 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.726e-05/0.4247, allocations: 84.14 kB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.4248, allocations: 79.27 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.4248, allocations: 109.8 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.4248, allocations: 0 / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001811/0.425, allocations: 57.5 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.4251, allocations: 130.6 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.4254, allocations: 326.3 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.4255, allocations: 29.7 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.4256, allocations: 112.5 kB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.534e-06/0.4256, allocations: 0 / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/0.4256, allocations: 65.67 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.4258, allocations: 334.8 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.294e-05/0.4259, allocations: 63.95 kB / 1.175 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.426, allocations: 121.5 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.4263, allocations: 205.8 kB / 1.175 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.4263, allocations: 8 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004189/0.4267, allocations: 237.2 kB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.4267, allocations: 4 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4267, allocations: 4 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.4268, allocations: 0 / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.407e-06/0.4268, allocations: 4 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4268, allocations: 7.938 kB / 1.175 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.4269, allocations: 27.73 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.4269, allocations: 4.078 kB / 1.175 GB, free: 13.46 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.0002441/0.4272, allocations: 225.3 kB / 1.176 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.192e-05/0.4273, allocations: 124.8 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.177e-05/0.4273, allocations: 117.8 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-05/0.4274, allocations: 176.3 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.809e-05/0.4275, allocations: 180.2 kB / 1.176 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.077e-05/0.4276, allocations: 184.3 kB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.4278, allocations: 453.2 kB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.321e-05/0.4279, allocations: 108.9 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.4279, allocations: 104.9 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.745e-05/0.428, allocations: 184.2 kB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.693e-05/0.4281, allocations: 180.3 kB / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.476e-05/0.4281, allocations: 184.2 kB / 1.178 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.597e-05/0.4282, allocations: 180.2 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.4284, allocations: 323.6 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.4285, allocations: 201.9 kB / 1.178 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.397e-05/0.4286, allocations: 180.3 kB / 1.178 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.4287, allocations: 108.9 kB / 1.178 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.086e-05/0.4288, allocations: 188.2 kB / 1.179 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/0.4288, allocations: 109.2 kB / 1.179 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001852/0.429, allocations: 217.9 kB / 1.179 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.429, allocations: 0 / 1.179 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003815/0.4294, allocations: 59.94 kB / 1.179 GB, free: 9.535 MB / 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.0003583/0.4298, allocations: 282.2 kB / 1.179 GB, free: 9.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001795/0.43, allocations: 104.3 kB / 1.179 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.43, allocations: 4.062 kB / 1.179 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.332e-06/0.43, allocations: 0 / 1.179 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.4304, allocations: 466.1 kB / 1.18 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.431, allocations: 392.8 kB / 1.18 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.4313, allocations: 0.747 MB / 1.181 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.202e-05/0.4313, allocations: 256 / 1.181 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.927e-05/0.4313, allocations: 11.44 kB / 1.181 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of SimCode: time 4.91e-07/0.4313, allocations: 0 / 1.181 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of Templates: time 0.005663/0.437, allocations: 2.301 MB / 1.183 GB, free: 5.203 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches