Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001234/0.001234, allocations: 109.4 kB / 16.46 MB, free: 6.035 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.001248/0.001248, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.403/1.403, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.053/3.053, allocations: 497.2 MB / 0.7811 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 58.53 kB / 1.134 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3426, allocations: 173.9 MB / 1.304 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002772/0.3454, allocations: 1.431 MB / 1.305 GB, free: 160 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003543/0.3489, allocations: 2.682 MB / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.638e-05/0.349, allocations: 0 / 1.308 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.3504, allocations: 0.5792 MB / 1.309 GB, free: 12.88 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.143e-05/0.3504, allocations: 15.91 kB / 1.309 GB, free: 12.87 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.3505, allocations: 0 / 1.309 GB, free: 12.87 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.3507, allocations: 166.9 kB / 1.309 GB, free: 12.7 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.155e-05/0.3508, allocations: 28.34 kB / 1.309 GB, free: 12.67 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.602e-05/0.3509, allocations: 59.73 kB / 1.309 GB, free: 12.61 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.351, allocations: 75.58 kB / 1.309 GB, free: 12.54 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.351, allocations: 4 kB / 1.309 GB, free: 12.53 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009898/0.352, allocations: 475.2 kB / 1.309 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.3521, allocations: 31.84 kB / 1.309 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.3522, allocations: 99.36 kB / 1.309 GB, free: 11.94 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006458/0.3528, allocations: 446 kB / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3528, allocations: 0 / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.073e-06/0.3528, allocations: 0 / 1.31 GB, free: 11.5 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.3529, allocations: 0 / 1.31 GB, free: 11.5 MB / 1.014 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.0008684/0.3537, allocations: 0.5643 MB / 1.31 GB, free: 10.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3538, allocations: 12.86 kB / 1.31 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.346e-05/0.3538, allocations: 110 kB / 1.311 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.354, allocations: 100.1 kB / 1.311 GB, free: 10.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.3543, allocations: 306.3 kB / 1.311 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-05/0.3544, allocations: 150.9 kB / 1.311 GB, free: 10.17 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.311e-05/0.3544, allocations: 158.9 kB / 1.311 GB, free: 10.02 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.032e-05/0.3545, allocations: 109.5 kB / 1.311 GB, free: 9.902 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/0.3546, allocations: 79.22 kB / 1.311 GB, free: 9.824 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/0.3546, allocations: 150.6 kB / 1.312 GB, free: 9.676 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.25e-05/0.3547, allocations: 150.6 kB / 1.312 GB, free: 9.527 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.454e-05/0.3548, allocations: 154.5 kB / 1.312 GB, free: 9.375 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.3552, allocations: 0.5407 MB / 1.312 GB, free: 8.785 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.908e-05/0.3553, allocations: 165.1 kB / 1.313 GB, free: 8.613 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.732e-05/0.3554, allocations: 80.14 kB / 1.313 GB, free: 8.531 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.778e-05/0.3554, allocations: 79.27 kB / 1.313 GB, free: 8.453 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.689e-05/0.3555, allocations: 117.8 kB / 1.313 GB, free: 8.328 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.3555, allocations: 0 / 1.313 GB, free: 8.328 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 0.0001809/0.3557, allocations: 57.45 kB / 1.313 GB, free: 8.266 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.3557, allocations: 126.7 kB / 1.313 GB, free: 8.129 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004709/0.3562, allocations: 433.3 kB / 1.313 GB, free: 7.695 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.3562, allocations: 33.7 kB / 1.313 GB, free: 7.656 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3563, allocations: 132.5 kB / 1.314 GB, free: 7.523 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.3563, allocations: 4 kB / 1.314 GB, free: 7.52 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.886e-05/0.3564, allocations: 93.66 kB / 1.314 GB, free: 7.422 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.3566, allocations: 338.8 kB / 1.314 GB, free: 7.082 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.3567, allocations: 96.5 kB / 1.314 GB, free: 6.988 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.3569, allocations: 169.2 kB / 1.314 GB, free: 6.801 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003406/0.3573, allocations: 301.7 kB / 1.314 GB, free: 6.484 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3573, allocations: 0 / 1.314 GB, free: 6.484 MB / 1.014 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000537/0.3578, allocations: 333 kB / 1.315 GB, free: 6.152 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3578, allocations: 7.938 kB / 1.315 GB, free: 6.145 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3578, allocations: 4 kB / 1.315 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3578, allocations: 0 / 1.315 GB, free: 6.141 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.819e-06/0.3578, allocations: 7.984 kB / 1.315 GB, free: 6.133 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3578, allocations: 224 / 1.315 GB, free: 6.133 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.358, allocations: 51.52 kB / 1.315 GB, free: 6.082 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.358, allocations: 7.938 kB / 1.315 GB, free: 6.074 MB / 1.014 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.0002629/0.3583, allocations: 241 kB / 1.315 GB, free: 5.828 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.3584, allocations: 124.8 kB / 1.315 GB, free: 5.699 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.173e-05/0.3584, allocations: 119 kB / 1.315 GB, free: 5.578 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.684e-05/0.3585, allocations: 184.2 kB / 1.316 GB, free: 5.391 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001021/0.3586, allocations: 176.3 kB / 1.316 GB, free: 5.211 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-05/0.3587, allocations: 192.1 kB / 1.316 GB, free: 5.016 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.3591, allocations: 473.2 kB / 1.316 GB, free: 4.496 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.462e-05/0.3591, allocations: 101 kB / 1.316 GB, free: 4.391 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.846e-05/0.3592, allocations: 108.9 kB / 1.317 GB, free: 4.277 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.319e-05/0.3593, allocations: 184.2 kB / 1.317 GB, free: 4.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.133e-05/0.3593, allocations: 188.2 kB / 1.317 GB, free: 3.898 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.341e-05/0.3594, allocations: 180.3 kB / 1.317 GB, free: 3.715 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.524e-05/0.3595, allocations: 176.5 kB / 1.317 GB, free: 3.535 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.3597, allocations: 335.6 kB / 1.318 GB, free: 3.184 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.3598, allocations: 205.8 kB / 1.318 GB, free: 2.957 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.36, allocations: 188.2 kB / 1.318 GB, free: 2.766 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3601, allocations: 101 kB / 1.318 GB, free: 2.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.981e-05/0.3602, allocations: 180.2 kB / 1.318 GB, free: 2.477 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.821e-05/0.3603, allocations: 101 kB / 1.318 GB, free: 2.371 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003032/0.3606, allocations: 287.1 kB / 1.319 GB, free: 2.09 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3606, allocations: 0 / 1.319 GB, free: 2.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003821/0.3609, allocations: 83.92 kB / 1.319 GB, free: 2.008 MB / 1.014 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.0007327/0.3617, allocations: 0.9605 MB / 1.32 GB, free: 1.02 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002152/0.3619, allocations: 120.1 kB / 1.32 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3619, allocations: 0 / 1.32 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3619, allocations: 0 / 1.32 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004565/0.3624, allocations: 471.3 kB / 1.32 GB, free: 448 kB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.3655, allocations: 2.941 MB / 1.323 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.3659, allocations: 0.7782 MB / 1.324 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.42e-05/0.3659, allocations: 7.938 kB / 1.324 GB, free: 12.56 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.049e-05/0.366, allocations: 47.42 kB / 1.324 GB, free: 12.52 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.366, allocations: 0 / 1.324 GB, free: 12.52 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03021/0.3962, allocations: 6.483 MB / 1.33 GB, free: 6.184 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.796/9.192, allocations: 10.33 kB / 1.33 GB, free: 6.18 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.886207520961761]