Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001402/0.001402, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001619/0.001619, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.839/2.839, allocations: 476.7 MB / 0.7707 GB, free: 4.238 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",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.002057/0.002057, allocations: 68.38 kB / 1.117 GB, free: 39.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3156, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.003238/0.3189, allocations: 1.438 MB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004724/0.3236, allocations: 2.715 MB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.752e-05/0.3237, allocations: 3.938 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.326, allocations: 0.5891 MB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.316e-05/0.3261, allocations: 23.84 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.809e-06/0.3261, allocations: 4 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.3264, allocations: 158.9 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.542e-05/0.3264, allocations: 16.59 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.3265, allocations: 63.61 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3267, allocations: 79.58 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.3267, allocations: 4 kB / 1.288 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.3282, allocations: 471.3 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.573e-05/0.3282, allocations: 35.78 kB / 1.289 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.3284, allocations: 99.36 kB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.3295, allocations: 434.1 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.3295, allocations: 0 / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3295, allocations: 0 / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.091e-05/0.3295, allocations: 0 / 1.289 GB, free: 5.469 MB / 0.9825 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.001113/0.3306, allocations: 0.4928 MB / 1.29 GB, free: 4.941 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.3306, allocations: 8.031 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.565e-05/0.3307, allocations: 106 kB / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/0.3309, allocations: 104 kB / 1.29 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.3313, allocations: 248.5 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.19e-05/0.3313, allocations: 150.9 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.832e-05/0.3314, allocations: 158.9 kB / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.003e-05/0.3315, allocations: 109.4 kB / 1.291 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.3316, allocations: 79.22 kB / 1.291 GB, free: 3.957 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-05/0.3316, allocations: 154.6 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.41e-05/0.3317, allocations: 150.6 kB / 1.291 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/0.3318, allocations: 158.6 kB / 1.291 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004906/0.3323, allocations: 0.5046 MB / 1.292 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.3324, allocations: 177.1 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.3324, allocations: 80.14 kB / 1.292 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.3325, allocations: 79.27 kB / 1.292 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.541e-05/0.3325, allocations: 109.8 kB / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.051e-06/0.3325, allocations: 0 / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 0.0002098/0.3327, allocations: 57.45 kB / 1.292 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.767e-05/0.3328, allocations: 130.6 kB / 1.292 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.3333, allocations: 433.3 kB / 1.293 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.3334, allocations: 29.7 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3335, allocations: 136.6 kB / 1.293 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.908e-06/0.3335, allocations: 8 kB / 1.293 GB, free: 1.668 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3336, allocations: 85.67 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3338, allocations: 342.8 kB / 1.293 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.3339, allocations: 100.6 kB / 1.293 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.3341, allocations: 161.9 kB / 1.293 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000349/0.3344, allocations: 309.6 kB / 1.294 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3344, allocations: 0 / 1.294 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000547/0.335, allocations: 329.1 kB / 1.294 GB, free: 316 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.335, allocations: 14.44 kB / 1.294 GB, free: 304 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.335, allocations: 3.984 kB / 1.294 GB, free: 300 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.3351, allocations: 4 kB / 1.294 GB, free: 296 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-06/0.3351, allocations: 3.938 kB / 1.294 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3351, allocations: 4.219 kB / 1.294 GB, free: 288 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.3352, allocations: 47.52 kB / 1.294 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.405e-05/0.3352, allocations: 4 kB / 1.294 GB, free: 236 kB / 0.9825 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.0003084/0.3355, allocations: 241.1 kB / 1.294 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3356, allocations: 128.7 kB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.702e-05/0.3357, allocations: 118.9 kB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.605e-05/0.3358, allocations: 184.3 kB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.504e-05/0.3359, allocations: 180.2 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.122e-05/0.336, allocations: 180.2 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.3363, allocations: 448.2 kB / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-05/0.3364, allocations: 105 kB / 1.296 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.262e-05/0.3364, allocations: 108.9 kB / 1.296 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.523e-05/0.3365, allocations: 188.1 kB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.349e-05/0.3366, allocations: 176.3 kB / 1.296 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.856e-05/0.3367, allocations: 184.2 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.75e-05/0.3368, allocations: 180.3 kB / 1.296 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.3371, allocations: 323.9 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.3372, allocations: 128.8 kB / 1.297 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.3373, allocations: 196.2 kB / 1.297 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.3375, allocations: 105 kB / 1.297 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.3376, allocations: 176.3 kB / 1.297 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-05/0.3377, allocations: 108.9 kB / 1.297 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003545/0.338, allocations: 283.1 kB / 1.298 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.338, allocations: 4 kB / 1.298 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005557/0.3386, allocations: 87.86 kB / 1.298 GB, free: 12.29 MB / 0.9981 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.001012/0.3396, allocations: 0.9529 MB / 1.299 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002702/0.3399, allocations: 127.9 kB / 1.299 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3399, allocations: 0 / 1.299 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.995e-06/0.3399, allocations: 0 / 1.299 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.3404, allocations: 463.2 kB / 1.299 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.3441, allocations: 2.937 MB / 1.302 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004684/0.3446, allocations: 0.7782 MB / 1.303 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.909e-05/0.3446, allocations: 4 kB / 1.303 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.54e-05/0.3447, allocations: 47.42 kB / 1.303 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of SimCode: time 1.212e-06/0.3447, allocations: 0 / 1.303 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03595/0.3807, allocations: 6.554 MB / 1.309 GB, free: 412 kB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.13, allocations: 10.62 kB / 1.309 GB, free: 404 kB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.747136213816702]