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.000772/0.000772, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007643/0.0007643, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8435/0.8435, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.665/1.665, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 3.938 kB / 0.981 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.108e-05/1.249e-05, allocations: 2.281 kB / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004287/0.0043, allocations: 5.3 MB / 0.9861 GB, free: 13.27 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002441/0.006741, allocations: 2.591 MB / 0.9887 GB, free: 10.67 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.006921, allocations: 39.69 kB / 0.9887 GB, free: 10.63 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008836/0.007805, allocations: 0.6766 MB / 0.9894 GB, free: 9.949 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.008289, allocations: 445.2 kB / 0.9898 GB, free: 9.512 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.008737, allocations: 418.8 kB / 0.9902 GB, free: 9.102 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006266/0.009363, allocations: 0.9862 MB / 0.9912 GB, free: 8.113 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.00975, allocations: 378.4 kB / 0.9915 GB, free: 7.738 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004336/0.01018, allocations: 0.5143 MB / 0.992 GB, free: 7.223 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.01051, allocations: 366.9 kB / 0.9924 GB, free: 6.863 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.785e-05/0.01055, allocations: 48 kB / 0.9924 GB, free: 6.816 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003131/0.01087, allocations: 339.1 kB / 0.9927 GB, free: 6.484 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.01103, allocations: 259.2 kB / 0.993 GB, free: 6.23 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.01118, allocations: 243.4 kB / 0.9932 GB, free: 5.992 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007796/0.01196, allocations: 1.001 MB / 0.9942 GB, free: 4.988 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.01196, allocations: 0 / 0.9942 GB, free: 4.988 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.82e-07/0.01196, allocations: 0 / 0.9942 GB, free: 4.988 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.01197, allocations: 0 / 0.9942 GB, free: 4.988 MB / 0.948 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.0009679/0.01294, allocations: 0.9131 MB / 0.9951 GB, free: 4.043 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.01298, allocations: 15.97 kB / 0.9951 GB, free: 4.027 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.76e-05/0.01306, allocations: 98.69 kB / 0.9952 GB, free: 3.922 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007051/0.01376, allocations: 204.2 kB / 0.9954 GB, free: 3.723 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.01432, allocations: 472.1 kB / 0.9958 GB, free: 3.238 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.01434, allocations: 37.36 kB / 0.9959 GB, free: 3.199 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.97e-05/0.01444, allocations: 56.48 kB / 0.9959 GB, free: 3.145 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000762/0.01521, allocations: 0.9867 MB / 0.9969 GB, free: 2.035 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.01522, allocations: 4.188 kB / 0.9969 GB, free: 2.031 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.634e-05/0.01526, allocations: 27.92 kB / 0.9969 GB, free: 2.004 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.971e-05/0.01536, allocations: 64.95 kB / 0.997 GB, free: 1.941 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005807/0.01594, allocations: 0.5774 MB / 0.9975 GB, free: 1.363 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002499/0.01844, allocations: 3.55 MB / 1.001 GB, free: 13.68 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.01876, allocations: 282.2 kB / 1.001 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.01895, allocations: 209.3 kB / 1.001 GB, free: 13.19 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.01897, allocations: 8.281 kB / 1.001 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.01899, allocations: 42.78 kB / 1.002 GB, free: 13.13 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.019, allocations: 0 / 1.002 GB, free: 13.13 MB / 0.9636 GB Notification: Performance of matching and sorting (n=40): time 0.003049/0.02204, allocations: 2.332 MB / 1.004 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.02207, allocations: 59.39 kB / 1.004 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003078/0.02238, allocations: 470 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.02241, allocations: 37.64 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.02255, allocations: 352.5 kB / 1.005 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.02262, allocations: 150.7 kB / 1.005 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.02273, allocations: 106.3 kB / 1.005 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.02283, allocations: 362.7 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.02307, allocations: 245.2 kB / 1.006 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002892/0.02336, allocations: 407.3 kB / 1.006 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005711/0.02393, allocations: 0.6817 MB / 1.007 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.02393, allocations: 0 / 1.007 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001064/0.02499, allocations: 0.9171 MB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.02501, allocations: 8 kB / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.02502, allocations: 8.656 kB / 1.007 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004107/0.02543, allocations: 226.4 kB / 1.008 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.0257, allocations: 111.8 kB / 1.008 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002913/0.02861, allocations: 5.003 MB / 1.013 GB, free: 1.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.02881, allocations: 27.97 kB / 1.013 GB, free: 1.059 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.02883, allocations: 24 kB / 1.013 GB, free: 1.035 MB / 0.9636 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.0001769/0.02901, allocations: 225.6 kB / 1.013 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/0.02906, allocations: 59.67 kB / 1.013 GB, free: 0.7461 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008639/0.02993, allocations: 0.7695 MB / 1.014 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.02993, allocations: 7.938 kB / 1.014 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.02993, allocations: 4 kB / 1.014 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.02994, allocations: 0 / 1.014 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.03138, allocations: 1.391 MB / 1.015 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.03138, allocations: 0 / 1.015 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.03157, allocations: 79.81 kB / 1.015 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003413/0.03191, allocations: 206.7 kB / 1.015 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.03193, allocations: 12 kB / 1.015 GB, free: 14.17 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/0.03465, allocations: 4.941 MB / 1.02 GB, free: 8.883 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.03465, allocations: 7.969 kB / 1.02 GB, free: 8.875 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.03574, allocations: 1.12 MB / 1.021 GB, free: 7.707 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.03587, allocations: 91.66 kB / 1.021 GB, free: 7.617 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.0359, allocations: 8 kB / 1.021 GB, free: 7.609 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.03606, allocations: 35.84 kB / 1.021 GB, free: 7.574 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.03611, allocations: 31.94 kB / 1.022 GB, free: 7.543 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.03613, allocations: 24.05 kB / 1.022 GB, free: 7.52 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002063/0.03634, allocations: 310.9 kB / 1.022 GB, free: 7.219 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.03634, allocations: 0 / 1.022 GB, free: 7.219 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003829/0.03672, allocations: 168 kB / 1.022 GB, free: 7.055 MB / 0.9792 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.001256/0.03797, allocations: 1.696 MB / 1.024 GB, free: 5.301 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0009112/0.03889, allocations: 0.9652 MB / 1.025 GB, free: 4.297 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.03889, allocations: 128 / 1.025 GB, free: 4.297 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.03938, allocations: 0.6641 MB / 1.025 GB, free: 3.594 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005389/0.03992, allocations: 175.2 kB / 1.025 GB, free: 3.422 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/0.0448, allocations: 5.596 MB / 1.031 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002264/0.04503, allocations: 350.3 kB / 1.031 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002042/0.04523, allocations: 113 kB / 1.031 GB, free: 13.06 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.04542, allocations: 212.4 kB / 1.032 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of SimCode: time 9.02e-07/0.04542, allocations: 4 kB / 1.032 GB, free: 12.85 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3703/0.4157, allocations: 15.83 MB / 1.047 GB, free: 100.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.914/7.33, allocations: 12.2 kB / 1.047 GB, free: 100.6 MB / 0.9948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.171754176728427]