Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 113.8 kB / 19.73 MB, free: 2.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 219.6 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.131/3.131, allocations: 0.49 GB / 0.7959 GB, free: 33.5 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 71.3 kB / 1.155 GB, free: 25.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3407, allocations: 176.1 MB / 1.327 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002481/0.3431, allocations: 1.449 MB / 1.328 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00338/0.3465, allocations: 2.717 MB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.3465, allocations: 0 / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001701/0.3482, allocations: 0.587 MB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.144e-05/0.3483, allocations: 23.84 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 3.687e-06/0.3483, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.3485, allocations: 159 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.3486, allocations: 16.52 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.156e-05/0.3487, allocations: 63.72 kB / 1.332 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.3488, allocations: 83.52 kB / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.3488, allocations: 0 / 1.332 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000999/0.3498, allocations: 467.3 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/0.3499, allocations: 39.81 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.35, allocations: 103.4 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006402/0.3506, allocations: 438 kB / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3506, allocations: 0 / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3506, allocations: 0 / 1.333 GB, free: 11.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3507, allocations: 0 / 1.333 GB, free: 11.82 MB / 1.029 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.0007496/0.3514, allocations: 0.489 MB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3514, allocations: 8.031 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.787e-05/0.3515, allocations: 79.47 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.261e-05/0.3515, allocations: 106 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.3517, allocations: 104 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.3519, allocations: 248.5 kB / 1.334 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.126e-05/0.352, allocations: 154.9 kB / 1.334 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.228e-05/0.3521, allocations: 154.9 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.909e-05/0.3521, allocations: 113.2 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.3522, allocations: 75.28 kB / 1.334 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.721e-05/0.3522, allocations: 150.6 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-05/0.3523, allocations: 154.6 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.07e-05/0.3524, allocations: 150.6 kB / 1.335 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.3527, allocations: 0.5046 MB / 1.335 GB, free: 9.238 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.817e-05/0.3528, allocations: 173.1 kB / 1.335 GB, free: 9.059 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.464e-05/0.3529, allocations: 92.12 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.3529, allocations: 75.28 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/0.353, allocations: 109.8 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.353, allocations: 4 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001728/0.3531, allocations: 61.45 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.3532, allocations: 126.7 kB / 1.336 GB, free: 8.566 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/0.3537, allocations: 437.3 kB / 1.336 GB, free: 8.129 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.3537, allocations: 25.7 kB / 1.336 GB, free: 8.098 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.318e-05/0.3538, allocations: 132.6 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.3538, allocations: 0 / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.641e-05/0.3539, allocations: 89.66 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.354, allocations: 342.8 kB / 1.337 GB, free: 7.527 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.3542, allocations: 96.59 kB / 1.337 GB, free: 7.434 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.3543, allocations: 177.8 kB / 1.337 GB, free: 7.234 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003411/0.3547, allocations: 301.6 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3547, allocations: 0 / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0005467/0.3552, allocations: 329.1 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3552, allocations: 7.938 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.3553, allocations: 8.219 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.3553, allocations: 3.984 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.578e-06/0.3553, allocations: 4 kB / 1.337 GB, free: 6.566 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.3553, allocations: 3.938 kB / 1.337 GB, free: 6.562 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.3554, allocations: 43.52 kB / 1.338 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.3554, allocations: 8 kB / 1.338 GB, free: 6.512 MB / 1.029 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.0002419/0.3557, allocations: 239.5 kB / 1.338 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/0.3558, allocations: 140.7 kB / 1.338 GB, free: 6.125 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.358e-05/0.3559, allocations: 122.8 kB / 1.338 GB, free: 5.996 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.42e-05/0.3559, allocations: 176.3 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.779e-05/0.356, allocations: 180.2 kB / 1.338 GB, free: 5.633 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.25e-05/0.3561, allocations: 180.3 kB / 1.339 GB, free: 5.449 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.3564, allocations: 444.2 kB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.67e-05/0.3565, allocations: 108.9 kB / 1.339 GB, free: 4.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.3565, allocations: 105 kB / 1.339 GB, free: 4.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.481e-05/0.3566, allocations: 188.1 kB / 1.339 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.473e-05/0.3567, allocations: 180.3 kB / 1.34 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.211e-05/0.3568, allocations: 176.3 kB / 1.34 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.678e-05/0.3569, allocations: 188.4 kB / 1.34 GB, free: 3.996 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.357, allocations: 335.6 kB / 1.34 GB, free: 3.645 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-05/0.3571, allocations: 124.7 kB / 1.34 GB, free: 3.516 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.3572, allocations: 184.2 kB / 1.34 GB, free: 3.328 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.3574, allocations: 104.9 kB / 1.341 GB, free: 3.219 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.3575, allocations: 180.3 kB / 1.341 GB, free: 3.035 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.068e-05/0.3575, allocations: 112.9 kB / 1.341 GB, free: 2.918 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002908/0.3578, allocations: 275.1 kB / 1.341 GB, free: 2.648 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3578, allocations: 0 / 1.341 GB, free: 2.648 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003984/0.3582, allocations: 83.92 kB / 1.341 GB, free: 2.566 MB / 1.029 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.0007346/0.3589, allocations: 0.9644 MB / 1.342 GB, free: 1.578 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.3591, allocations: 119.8 kB / 1.342 GB, free: 1.461 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3592, allocations: 0 / 1.342 GB, free: 1.461 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.3592, allocations: 0 / 1.342 GB, free: 1.461 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.3596, allocations: 471.2 kB / 1.343 GB, free: 1 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003011/0.3626, allocations: 2.934 MB / 1.346 GB, free: 13.94 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003859/0.363, allocations: 0.7782 MB / 1.346 GB, free: 13.14 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.645e-05/0.363, allocations: 4 kB / 1.346 GB, free: 13.13 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.511e-05/0.3631, allocations: 51.42 kB / 1.346 GB, free: 13.08 MB / 1.045 GB Notification: Performance of SimCode: time 8.51e-07/0.3631, allocations: 0 / 1.346 GB, free: 13.08 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.3914, allocations: 6.586 MB / 1.353 GB, free: 6.656 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.81, allocations: 2.938 kB / 1.353 GB, free: 6.656 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.544587106036488]