Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002254/0.002254, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.573/2.573, allocations: 443.5 MB / 0.7287 GB, free: 14.52 MB / 0.5762 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002163/0.002163, allocations: 75.88 kB / 1.056 GB, free: 2.516 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3365, allocations: 160.7 MB / 1.213 GB, free: 1.492 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002979/0.3395, allocations: 1.422 MB / 1.214 GB, free: 52 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004014/0.3435, allocations: 2.679 MB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.246e-05/0.3435, allocations: 0 / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.3455, allocations: 0.5909 MB / 1.217 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.164e-05/0.3456, allocations: 19.91 kB / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.3456, allocations: 0 / 1.217 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002882/0.3458, allocations: 158.9 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.831e-05/0.3459, allocations: 24.34 kB / 1.218 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.915e-05/0.346, allocations: 63.72 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.3462, allocations: 79.58 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.3462, allocations: 4 kB / 1.218 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.3473, allocations: 471.3 kB / 1.218 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.865e-05/0.3474, allocations: 35.83 kB / 1.218 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001084/0.3475, allocations: 95.36 kB / 1.218 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006659/0.3482, allocations: 442 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.3482, allocations: 0 / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3482, allocations: 0 / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.3482, allocations: 0 / 1.219 GB, free: 11.4 MB / 0.9669 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.0008611/0.349, allocations: 0.5603 MB / 1.219 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3491, allocations: 15.97 kB / 1.219 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.139e-05/0.3491, allocations: 106 kB / 1.219 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.3493, allocations: 104 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002822/0.3496, allocations: 302.4 kB / 1.22 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.315e-05/0.3497, allocations: 158.9 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.656e-05/0.3497, allocations: 150.9 kB / 1.22 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.515e-05/0.3498, allocations: 117.5 kB / 1.22 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.44e-05/0.3499, allocations: 79.22 kB / 1.22 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.325e-05/0.3499, allocations: 150.6 kB / 1.22 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.073e-05/0.35, allocations: 150.6 kB / 1.221 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.298e-05/0.35, allocations: 150.6 kB / 1.221 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.3505, allocations: 0.5484 MB / 1.221 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.402e-05/0.3506, allocations: 165.1 kB / 1.221 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.3506, allocations: 80.14 kB / 1.222 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.394e-05/0.3506, allocations: 75.28 kB / 1.222 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.676e-05/0.3507, allocations: 109.8 kB / 1.222 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.3507, allocations: 0 / 1.222 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0001895/0.3509, allocations: 61.39 kB / 1.222 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.351, allocations: 130.7 kB / 1.222 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004616/0.3514, allocations: 429.3 kB / 1.222 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.3514, allocations: 33.69 kB / 1.222 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.673e-05/0.3515, allocations: 132.6 kB / 1.222 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-06/0.3515, allocations: 0 / 1.222 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.113e-05/0.3516, allocations: 89.67 kB / 1.223 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3518, allocations: 338.8 kB / 1.223 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.3519, allocations: 100.5 kB / 1.223 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.3521, allocations: 169.3 kB / 1.223 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003552/0.3525, allocations: 309.6 kB / 1.223 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3525, allocations: 0 / 1.223 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005361/0.353, allocations: 329.1 kB / 1.224 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.353, allocations: 11.92 kB / 1.224 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.353, allocations: 3.938 kB / 1.224 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.353, allocations: 8 kB / 1.224 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.035e-06/0.353, allocations: 4 kB / 1.224 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.353, allocations: 0 / 1.224 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.3532, allocations: 43.73 kB / 1.224 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.3532, allocations: 11.94 kB / 1.224 GB, free: 5.973 MB / 0.9669 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.0002865/0.3535, allocations: 243.2 kB / 1.224 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.378e-05/0.3536, allocations: 132.7 kB / 1.224 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.429e-05/0.3536, allocations: 119 kB / 1.224 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.519e-05/0.3537, allocations: 180.2 kB / 1.224 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.77e-05/0.3538, allocations: 184.3 kB / 1.225 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.308e-05/0.3539, allocations: 176.3 kB / 1.225 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.3542, allocations: 477.1 kB / 1.225 GB, free: 4.391 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.51e-05/0.3542, allocations: 109.1 kB / 1.225 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.869e-05/0.3543, allocations: 108.9 kB / 1.225 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.776e-05/0.3544, allocations: 184.2 kB / 1.226 GB, free: 3.977 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.121e-05/0.3545, allocations: 176.3 kB / 1.226 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-05/0.3545, allocations: 188.2 kB / 1.226 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.693e-05/0.3546, allocations: 180.2 kB / 1.226 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001664/0.3548, allocations: 319.6 kB / 1.226 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.3549, allocations: 209.9 kB / 1.227 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.355, allocations: 184.1 kB / 1.227 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.3552, allocations: 105 kB / 1.227 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/0.3552, allocations: 180.2 kB / 1.227 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.325e-05/0.3553, allocations: 101 kB / 1.227 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002906/0.3556, allocations: 283.1 kB / 1.227 GB, free: 2 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3556, allocations: 4 kB / 1.227 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004039/0.356, allocations: 83.92 kB / 1.228 GB, free: 1.914 MB / 0.9669 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.0007241/0.3567, allocations: 0.9644 MB / 1.229 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.3569, allocations: 116.2 kB / 1.229 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3569, allocations: 4.125 kB / 1.229 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.3569, allocations: 0 / 1.229 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.3574, allocations: 469.1 kB / 1.229 GB, free: 344 kB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.3607, allocations: 2.948 MB / 1.232 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.3611, allocations: 0.7782 MB / 1.233 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.777e-05/0.3611, allocations: 7.938 kB / 1.233 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.784e-05/0.3612, allocations: 51.41 kB / 1.233 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of SimCode: time 6.12e-07/0.3612, allocations: 0 / 1.233 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03123/0.3924, allocations: 6.477 MB / 1.239 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.43/8.823, allocations: 8.359 kB / 1.239 GB, free: 6.074 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.921722071245313]