Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001728/0.001728, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002023/0.002023, allocations: 217 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.767/2.767, allocations: 476.7 MB / 0.7714 GB, free: 4.277 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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.001968/0.001968, allocations: 65.2 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2851, allocations: 170 MB / 1.284 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008089/0.2932, allocations: 5.767 MB / 1.29 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004839/0.2981, allocations: 2.771 MB / 1.292 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003698/0.2984, allocations: 35.69 kB / 1.293 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.3004, allocations: 0.7124 MB / 1.293 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.3014, allocations: 425.8 kB / 1.294 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.3024, allocations: 407 kB / 1.294 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00122/0.3036, allocations: 0.9593 MB / 1.295 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007387/0.3044, allocations: 393.9 kB / 1.295 GB, free: 220 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000681/0.305, allocations: 382.7 kB / 1.296 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006375/0.3057, allocations: 442.3 kB / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.915e-05/0.3058, allocations: 48 kB / 1.296 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007248/0.3065, allocations: 363.2 kB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002769/0.3068, allocations: 259.2 kB / 1.297 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.3072, allocations: 358.1 kB / 1.297 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.3084, allocations: 0.9767 MB / 1.298 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3085, allocations: 0 / 1.298 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3085, allocations: 0 / 1.298 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.3085, allocations: 0 / 1.298 GB, free: 13.42 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001791/0.3103, allocations: 0.9325 MB / 1.299 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.3103, allocations: 8.031 kB / 1.299 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.746e-05/0.3103, allocations: 17.19 kB / 1.299 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001223/0.3105, allocations: 102.7 kB / 1.299 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001402/0.3119, allocations: 192.3 kB / 1.299 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008801/0.3127, allocations: 472.9 kB / 1.3 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.3128, allocations: 41.36 kB / 1.3 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/0.3129, allocations: 64.23 kB / 1.3 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0013/0.3143, allocations: 0.8239 MB / 1.301 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.3143, allocations: 4 kB / 1.301 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.122e-05/0.3143, allocations: 23.98 kB / 1.301 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001981/0.3145, allocations: 68.95 kB / 1.301 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009464/0.3155, allocations: 0.5735 MB / 1.301 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004862/0.3204, allocations: 4.493 MB / 1.306 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004925/0.3208, allocations: 283.3 kB / 1.306 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.3212, allocations: 205.3 kB / 1.306 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.3212, allocations: 4.281 kB / 1.306 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.3212, allocations: 42.83 kB / 1.306 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.254e-06/0.3212, allocations: 0 / 1.306 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=40): time 0.00575/0.327, allocations: 2.327 MB / 1.308 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.327, allocations: 63.34 kB / 1.308 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005342/0.3276, allocations: 462.1 kB / 1.309 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.211e-05/0.3276, allocations: 33.7 kB / 1.309 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002688/0.3279, allocations: 352.5 kB / 1.309 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.328, allocations: 154.7 kB / 1.309 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.3282, allocations: 110.2 kB / 1.31 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.3284, allocations: 362.8 kB / 1.31 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/0.3287, allocations: 237.2 kB / 1.31 GB, free: 436 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000518/0.3293, allocations: 411.4 kB / 1.311 GB, free: 15.95 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009356/0.3302, allocations: 0.674 MB / 1.311 GB, free: 15.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3302, allocations: 0 / 1.311 GB, free: 15.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0018/0.332, allocations: 0.9176 MB / 1.312 GB, free: 14.27 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.332, allocations: 18.41 kB / 1.312 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.332, allocations: 4 kB / 1.312 GB, free: 14.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008079/0.3328, allocations: 226.3 kB / 1.312 GB, free: 14.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.3334, allocations: 115.8 kB / 1.312 GB, free: 13.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005536/0.3389, allocations: 5.029 MB / 1.317 GB, free: 8.527 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.3394, allocations: 31.97 kB / 1.317 GB, free: 8.496 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.3394, allocations: 24 kB / 1.317 GB, free: 8.473 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 initialization (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003302/0.3397, allocations: 223.4 kB / 1.318 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.3398, allocations: 63.69 kB / 1.318 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/0.3414, allocations: 0.7619 MB / 1.318 GB, free: 7.402 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.3414, allocations: 8 kB / 1.318 GB, free: 7.395 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3414, allocations: 4.141 kB / 1.318 GB, free: 7.391 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3415, allocations: 11.97 kB / 1.318 GB, free: 7.379 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/0.3441, allocations: 1.462 MB / 1.32 GB, free: 5.836 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3441, allocations: 3.938 kB / 1.32 GB, free: 5.832 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003787/0.3444, allocations: 63.95 kB / 1.32 GB, free: 5.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006983/0.3451, allocations: 210.5 kB / 1.32 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/0.3452, allocations: 12 kB / 1.32 GB, free: 5.543 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005233/0.3504, allocations: 4.955 MB / 1.325 GB, free: 248 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.3504, allocations: 12.03 kB / 1.325 GB, free: 236 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001933/0.3523, allocations: 1.124 MB / 1.326 GB, free: 15.06 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002595/0.3526, allocations: 103.5 kB / 1.326 GB, free: 14.96 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.575e-05/0.3527, allocations: 15.94 kB / 1.326 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/0.353, allocations: 28.03 kB / 1.326 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.3531, allocations: 31.94 kB / 1.326 GB, free: 14.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.3531, allocations: 12 kB / 1.326 GB, free: 14.87 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003791/0.3535, allocations: 318.9 kB / 1.327 GB, free: 14.56 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3535, allocations: 0 / 1.327 GB, free: 14.56 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007041/0.3542, allocations: 168 kB / 1.327 GB, free: 14.4 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0022/0.3564, allocations: 1.695 MB / 1.328 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.3581, allocations: 0.9581 MB / 1.329 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.3581, allocations: 4 kB / 1.329 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.3591, allocations: 0.6642 MB / 1.33 GB, free: 10.94 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008991/0.36, allocations: 193 kB / 1.33 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008197/0.3682, allocations: 5.642 MB / 1.336 GB, free: 4.836 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/0.3689, allocations: 0.9493 MB / 1.337 GB, free: 3.859 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003676/0.3692, allocations: 113 kB / 1.337 GB, free: 3.746 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000296/0.3695, allocations: 211.4 kB / 1.337 GB, free: 3.539 MB / 1.029 GB Notification: Performance of SimCode: time 7.92e-07/0.3695, allocations: 0 / 1.337 GB, free: 3.539 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04842/0.418, allocations: 14.79 MB / 1.351 GB, free: 5.043 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.11, allocations: 14.45 kB / 1.351 GB, free: 5.031 MB / 1.045 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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: 19.71225921198493]