Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0008444/0.0008444, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009708/0.0009708, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.869/0.869, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.612/1.612, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.053e-05/1.157e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.473 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.0167/0.01672, allocations: 25.05 MB / 0.975 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.008462/0.02518, allocations: 7.996 MB / 0.9828 GB, free: 2.305 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.02635, allocations: 154.8 kB / 0.9829 GB, free: 2.152 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.002828/0.02918, allocations: 2.791 MB / 0.9857 GB, free: 15.36 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.03126, allocations: 1.709 MB / 0.9873 GB, free: 13.64 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.0333, allocations: 1.686 MB / 0.989 GB, free: 11.95 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.003577/0.03688, allocations: 6.27 MB / 0.9951 GB, free: 5.656 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00282/0.0397, allocations: 3.766 MB / 0.9988 GB, free: 1.801 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002853/0.04255, allocations: 3.723 MB / 1.002 GB, free: 14.07 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002006/0.04456, allocations: 2.634 MB / 1.005 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0003631/0.04492, allocations: 0.5078 MB / 1.005 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.04621, allocations: 1.22 MB / 1.007 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.04737, allocations: 2.198 MB / 1.009 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.04841, allocations: 1.653 MB / 1.01 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.004453/0.05287, allocations: 8.208 MB / 1.018 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.05287, allocations: 0 / 1.018 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.793e-06/0.05287, allocations: 0 / 1.018 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 4.764e-05/0.05292, allocations: 0 / 1.018 GB, free: 13.61 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.004189/0.05711, allocations: 4.217 MB / 1.023 GB, free: 9.34 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.05715, allocations: 11.97 kB / 1.023 GB, free: 9.328 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000456/0.05761, allocations: 0.5382 MB / 1.023 GB, free: 8.781 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.05965, allocations: 0.8374 MB / 1.024 GB, free: 7.941 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002781/0.06243, allocations: 2.521 MB / 1.026 GB, free: 5.355 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.06257, allocations: 275.6 kB / 1.027 GB, free: 5.086 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000432/0.063, allocations: 368.9 kB / 1.027 GB, free: 4.727 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005799/0.0688, allocations: 6.452 MB / 1.033 GB, free: 13.91 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.94e-05/0.06886, allocations: 15.89 kB / 1.033 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/0.06909, allocations: 167.9 kB / 1.033 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002935/0.06939, allocations: 278.9 kB / 1.034 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00439/0.07378, allocations: 4.516 MB / 1.038 GB, free: 8.934 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.41/0.4837, allocations: 17.97 MB / 1.056 GB, free: 115.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009123/0.4847, allocations: 1.061 MB / 1.057 GB, free: 115.3 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007308/0.4854, allocations: 0.9523 MB / 1.058 GB, free: 115.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-05/0.4854, allocations: 13.16 kB / 1.058 GB, free: 115.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.4855, allocations: 46.38 kB / 1.058 GB, free: 115.3 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 3.236e-06/0.4855, allocations: 0.9688 kB / 1.058 GB, free: 115.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=131): time 0.01044/0.4959, allocations: 9.094 MB / 1.067 GB, free: 112.2 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.4959, allocations: 66.34 kB / 1.067 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009834/0.4969, allocations: 1.528 MB / 1.068 GB, free: 111.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-05/0.497, allocations: 51.58 kB / 1.068 GB, free: 111.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/0.4974, allocations: 1.71 MB / 1.07 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.4976, allocations: 487.2 kB / 1.07 GB, free: 110.1 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002684/0.4979, allocations: 324.4 kB / 1.071 GB, free: 110 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.277e-05/0.4979, allocations: 311.2 kB / 1.071 GB, free: 109.7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007291/0.4986, allocations: 0.915 MB / 1.072 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008931/0.4995, allocations: 1.463 MB / 1.073 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001779/0.5013, allocations: 2.547 MB / 1.076 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.5013, allocations: 2.656 kB / 1.076 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002864/0.5042, allocations: 3.278 MB / 1.079 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.5042, allocations: 11.41 kB / 1.079 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.5042, allocations: 19 kB / 1.079 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.5053, allocations: 0.7372 MB / 1.08 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007582/0.506, allocations: 392.2 kB / 1.08 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007963/0.514, allocations: 16 MB / 1.096 GB, free: 91.68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007385/0.5147, allocations: 100.8 kB / 1.096 GB, free: 91.66 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/0.5148, allocations: 76.06 kB / 1.096 GB, free: 91.64 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (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.001613/0.5164, allocations: 1.318 MB / 1.097 GB, free: 91.04 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.5166, allocations: 211.4 kB / 1.097 GB, free: 90.93 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.5195, allocations: 2.767 MB / 1.1 GB, free: 89.76 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.5195, allocations: 12.34 kB / 1.1 GB, free: 89.76 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.5195, allocations: 7.281 kB / 1.1 GB, free: 89.76 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.5195, allocations: 10.59 kB / 1.1 GB, free: 89.76 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006079/0.5256, allocations: 5.881 MB / 1.106 GB, free: 87.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.5256, allocations: 9.312 kB / 1.106 GB, free: 87.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/0.5264, allocations: 231.3 kB / 1.106 GB, free: 87.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001122/0.5275, allocations: 0.6722 MB / 1.107 GB, free: 87.04 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.5276, allocations: 29.98 kB / 1.107 GB, free: 87.02 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008529/0.5361, allocations: 15.75 MB / 1.122 GB, free: 73.72 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5361, allocations: 9.734 kB / 1.122 GB, free: 73.72 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004054/0.5402, allocations: 3.99 MB / 1.126 GB, free: 71.86 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005538/0.5407, allocations: 383.9 kB / 1.126 GB, free: 71.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.5408, allocations: 35.11 kB / 1.126 GB, free: 71.63 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004899/0.5413, allocations: 84.92 kB / 1.127 GB, free: 71.61 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/0.5416, allocations: 122.1 kB / 1.127 GB, free: 71.59 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.544e-05/0.5416, allocations: 37.61 kB / 1.127 GB, free: 71.58 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0009608/0.5426, allocations: 1 MB / 1.128 GB, free: 71.2 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.5426, allocations: 0 / 1.128 GB, free: 71.2 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001626/0.5442, allocations: 0.6842 MB / 1.128 GB, free: 71.15 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.003955/0.5481, allocations: 4.582 MB / 1.133 GB, free: 68.72 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002942/0.5511, allocations: 3.371 MB / 1.136 GB, free: 66.86 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5511, allocations: 3.812 kB / 1.136 GB, free: 66.86 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.5527, allocations: 2.244 MB / 1.138 GB, free: 65.38 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.5542, allocations: 0.6855 MB / 1.139 GB, free: 65.15 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02085/0.5751, allocations: 21.19 MB / 1.16 GB, free: 54.75 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001842/0.5769, allocations: 2.113 MB / 1.162 GB, free: 54.16 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0009518/0.5779, allocations: 494.4 kB / 1.162 GB, free: 54.07 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008938/0.5788, allocations: 1.278 MB / 1.163 GB, free: 53 MB / 0.9948 GB Notification: Performance of SimCode: time 8.02e-07/0.5788, allocations: 0 / 1.163 GB, free: 53 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06385/0.6426, allocations: 61.44 MB / 1.223 GB, free: 13.27 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/9.003, allocations: 15.67 kB / 1.223 GB, free: 13.25 MB / 1.01 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 13.06833627820015]