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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008343/0.000838, allocations: 92.16 kB / 16.02 MB, free: 80 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.00102/0.00102, allocations: 173.7 kB / 16.92 MB, free: 6.629 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.418/1.418, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.728/2.728, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.000367, allocations: 8.438 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3227, allocations: 159.6 MB / 1.059 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low): time 0.001701/0.3244, allocations: 1.123 MB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002519/0.327, allocations: 1.889 MB / 1.062 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.902e-05/0.327, allocations: 4 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.3284, allocations: 358.1 kB / 1.063 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.011e-05/0.3285, allocations: 23.91 kB / 1.063 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-06/0.3285, allocations: 4 kB / 1.063 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.3287, allocations: 139.1 kB / 1.063 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.299e-05/0.3288, allocations: 17.5 kB / 1.063 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.62e-05/0.3289, allocations: 39.86 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.329, allocations: 59.72 kB / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.3291, allocations: 0 / 1.063 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005321/0.3296, allocations: 179.9 kB / 1.063 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.3297, allocations: 31.84 kB / 1.063 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.3298, allocations: 105.3 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.3301, allocations: 207.5 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3301, allocations: 0 / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3301, allocations: 3.938 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.3301, allocations: 0 / 1.063 GB, free: 0.7812 MB / 0.8106 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.0007634/0.3309, allocations: 482.5 kB / 1.064 GB, free: 268 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3309, allocations: 11.97 kB / 1.064 GB, free: 256 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.3311, allocations: 100 kB / 1.064 GB, free: 156 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.3314, allocations: 283.4 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-05/0.3315, allocations: 154.9 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.572e-05/0.3315, allocations: 154.9 kB / 1.065 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.778e-05/0.3316, allocations: 109.1 kB / 1.065 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/0.3316, allocations: 75.28 kB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-05/0.3317, allocations: 158.5 kB / 1.065 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-05/0.3318, allocations: 154.5 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.452e-05/0.3318, allocations: 150.6 kB / 1.065 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.3322, allocations: 0.5054 MB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.699e-05/0.3323, allocations: 173.2 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.3323, allocations: 84.14 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.3324, allocations: 83.2 kB / 1.066 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.3324, allocations: 113.8 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.153e-06/0.3324, allocations: 3.938 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 0.0001806/0.3326, allocations: 41.52 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.3327, allocations: 130.7 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.333, allocations: 322.3 kB / 1.067 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.3331, allocations: 29.7 kB / 1.067 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.504e-05/0.3331, allocations: 112.5 kB / 1.067 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.598e-06/0.3332, allocations: 0 / 1.067 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-05/0.3332, allocations: 49.62 kB / 1.067 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.3333, allocations: 334.8 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.3334, allocations: 63.95 kB / 1.067 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.3336, allocations: 118 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.3338, allocations: 205.9 kB / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3338, allocations: 0 / 1.067 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004287/0.3342, allocations: 241 kB / 1.068 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.3343, allocations: 9.469 kB / 1.068 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.3343, allocations: 8 kB / 1.068 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/0.3343, allocations: 7.938 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.013e-06/0.3343, allocations: 0 / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.3343, allocations: 4 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.3345, allocations: 23.59 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.3345, allocations: 4 kB / 1.068 GB, free: 12.09 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.0001729/0.3347, allocations: 233 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.3348, allocations: 120.7 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.283e-05/0.3348, allocations: 121.9 kB / 1.068 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.013e-05/0.3349, allocations: 180.2 kB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-05/0.335, allocations: 180.3 kB / 1.068 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-05/0.335, allocations: 180.2 kB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002942/0.3353, allocations: 457.2 kB / 1.069 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.403e-05/0.3354, allocations: 101 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/0.3354, allocations: 108.9 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.128e-05/0.3355, allocations: 184.3 kB / 1.069 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.635e-05/0.3356, allocations: 184.2 kB / 1.07 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-05/0.3357, allocations: 176.3 kB / 1.07 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.195e-05/0.3358, allocations: 188.2 kB / 1.07 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.3359, allocations: 315.6 kB / 1.07 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.814e-05/0.3361, allocations: 205.7 kB / 1.07 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.683e-05/0.3361, allocations: 176.3 kB / 1.071 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.3363, allocations: 109 kB / 1.071 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.3364, allocations: 188.2 kB / 1.071 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.3364, allocations: 105 kB / 1.071 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002153/0.3366, allocations: 213.9 kB / 1.071 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3366, allocations: 0 / 1.071 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003746/0.337, allocations: 67.92 kB / 1.071 GB, free: 8.16 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.0003491/0.3374, allocations: 266.4 kB / 1.072 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.3375, allocations: 103.8 kB / 1.072 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3376, allocations: 0 / 1.072 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.275e-06/0.3376, allocations: 0 / 1.072 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.338, allocations: 0.5334 MB / 1.072 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.3386, allocations: 459.7 kB / 1.073 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.3389, allocations: 0.7434 MB / 1.073 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.3389, allocations: 11.38 kB / 1.073 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3389, allocations: 0 / 1.073 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of Templates: time 0.004382/0.3433, allocations: 2.314 MB / 1.076 GB, free: 3.668 MB / 0.8262 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/jenkins1/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