Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001763/0.001763, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002149/0.002149, allocations: 220.4 kB / 22.25 MB, free: 5.105 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.793 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.084/3.084, allocations: 0.49 GB / 0.7951 GB, free: 35.65 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.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",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.002004/0.002004, allocations: 65.45 kB / 1.154 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3135, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008091/0.3216, allocations: 5.358 MB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005026/0.3266, allocations: 2.627 MB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004545/0.3271, allocations: 31.69 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.329, allocations: 0.6942 MB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.3301, allocations: 421.8 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.3311, allocations: 416.3 kB / 1.335 GB, free: 7.922 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.3324, allocations: 0.9632 MB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006457/0.333, allocations: 382.4 kB / 1.336 GB, free: 6.566 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000657/0.3337, allocations: 394.6 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006693/0.3343, allocations: 426.4 kB / 1.337 GB, free: 5.762 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.383e-05/0.3344, allocations: 48 kB / 1.337 GB, free: 5.715 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006429/0.3351, allocations: 331.3 kB / 1.338 GB, free: 5.391 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.3353, allocations: 255.2 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003352/0.3357, allocations: 290.7 kB / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00122/0.3369, allocations: 0.9845 MB / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3369, allocations: 0 / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3369, allocations: 0 / 1.339 GB, free: 3.867 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.3369, allocations: 0 / 1.339 GB, free: 3.867 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00172/0.3386, allocations: 0.9286 MB / 1.34 GB, free: 2.906 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.3387, allocations: 8.031 kB / 1.34 GB, free: 2.898 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.3388, allocations: 102.7 kB / 1.34 GB, free: 2.789 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001439/0.3402, allocations: 196.3 kB / 1.34 GB, free: 2.598 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009282/0.3412, allocations: 468.9 kB / 1.341 GB, free: 2.113 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/0.3412, allocations: 37.38 kB / 1.341 GB, free: 2.078 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.3414, allocations: 56.5 kB / 1.341 GB, free: 2.023 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/0.3427, allocations: 0.9861 MB / 1.342 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.3427, allocations: 4 kB / 1.342 GB, free: 0.9102 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.845e-05/0.3428, allocations: 20 kB / 1.342 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/0.343, allocations: 68.94 kB / 1.342 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00091/0.3439, allocations: 0.5735 MB / 1.342 GB, free: 256 kB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004427/0.3483, allocations: 3.585 MB / 1.346 GB, free: 12.53 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004998/0.3488, allocations: 275.2 kB / 1.346 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.3491, allocations: 209.3 kB / 1.346 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.911e-05/0.3492, allocations: 8.281 kB / 1.346 GB, free: 12.04 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.3492, allocations: 38.78 kB / 1.346 GB, free: 11.99 MB / 1.045 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.3492, allocations: 4 kB / 1.346 GB, free: 11.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=40): time 0.005894/0.3551, allocations: 2.334 MB / 1.349 GB, free: 9.598 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.3551, allocations: 67.28 kB / 1.349 GB, free: 9.52 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005644/0.3557, allocations: 469.9 kB / 1.349 GB, free: 9.047 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.3558, allocations: 37.7 kB / 1.349 GB, free: 9.004 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.356, allocations: 352.5 kB / 1.35 GB, free: 8.656 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.3562, allocations: 146.7 kB / 1.35 GB, free: 8.512 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.3564, allocations: 106.2 kB / 1.35 GB, free: 8.402 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3565, allocations: 366.8 kB / 1.35 GB, free: 8.035 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.3569, allocations: 233.2 kB / 1.35 GB, free: 7.809 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/0.3574, allocations: 415.4 kB / 1.351 GB, free: 7.324 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009058/0.3583, allocations: 0.67 MB / 1.351 GB, free: 6.582 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3583, allocations: 8 kB / 1.351 GB, free: 6.574 MB / 1.045 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001811/0.3601, allocations: 0.9093 MB / 1.352 GB, free: 5.648 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.3601, allocations: 8 kB / 1.352 GB, free: 5.641 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3601, allocations: 4 kB / 1.352 GB, free: 5.637 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008518/0.361, allocations: 235 kB / 1.353 GB, free: 5.398 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.3616, allocations: 115.8 kB / 1.353 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005605/0.3672, allocations: 4.991 MB / 1.358 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/0.3677, allocations: 36.09 kB / 1.358 GB, free: 15.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.397e-05/0.3677, allocations: 24 kB / 1.358 GB, free: 15.89 MB / 1.061 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.0003529/0.3681, allocations: 222.2 kB / 1.358 GB, free: 15.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.3682, allocations: 63.56 kB / 1.358 GB, free: 15.6 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.3698, allocations: 0.7696 MB / 1.359 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.493e-06/0.3698, allocations: 4 kB / 1.359 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3698, allocations: 0 / 1.359 GB, free: 14.81 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.3698, allocations: 7.984 kB / 1.359 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002652/0.3725, allocations: 1.4 MB / 1.36 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.3725, allocations: 4.188 kB / 1.36 GB, free: 13.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000414/0.3729, allocations: 67.89 kB / 1.36 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007505/0.3736, allocations: 214.5 kB / 1.36 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.842e-05/0.3737, allocations: 8 kB / 1.36 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005302/0.379, allocations: 4.94 MB / 1.365 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.379, allocations: 0 / 1.365 GB, free: 7.742 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.381, allocations: 1.131 MB / 1.366 GB, free: 6.562 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002979/0.3813, allocations: 99.52 kB / 1.366 GB, free: 6.465 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.872e-05/0.3814, allocations: 11.98 kB / 1.366 GB, free: 6.453 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.3817, allocations: 23.97 kB / 1.366 GB, free: 6.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.3818, allocations: 43.88 kB / 1.366 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.3818, allocations: 8 kB / 1.366 GB, free: 6.379 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003716/0.3822, allocations: 318.9 kB / 1.367 GB, free: 6.07 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3822, allocations: 0 / 1.367 GB, free: 6.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006814/0.3829, allocations: 168 kB / 1.367 GB, free: 5.906 MB / 1.061 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.002249/0.3852, allocations: 1.692 MB / 1.369 GB, free: 4.152 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.3869, allocations: 0.9613 MB / 1.37 GB, free: 3.152 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/0.3869, allocations: 0 / 1.37 GB, free: 3.152 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001071/0.3879, allocations: 0.6759 MB / 1.37 GB, free: 2.438 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009526/0.3889, allocations: 181.2 kB / 1.37 GB, free: 2.27 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008239/0.3971, allocations: 5.645 MB / 1.376 GB, free: 12.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.3975, allocations: 354.3 kB / 1.376 GB, free: 11.97 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003736/0.3979, allocations: 113 kB / 1.376 GB, free: 11.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/0.3982, allocations: 211.4 kB / 1.376 GB, free: 11.65 MB / 1.076 GB Notification: Performance of SimCode: time 1.062e-06/0.3982, allocations: 4 kB / 1.377 GB, free: 11.64 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07005/0.4682, allocations: 15.9 MB / 1.392 GB, free: 12.11 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.16, allocations: 14.92 kB / 1.392 GB, free: 12.1 MB / 1.092 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.67245947298943]