Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0008255/0.0008255, 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.0009628/0.0009628, 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.8643/0.8643, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.672/1.672, allocations: 377.8 MB / 0.6221 GB, free: 8.633 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.054e-05/1.182e-05, allocations: 2.281 kB / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02254/0.02256, allocations: 33 MB / 1.013 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01139/0.03394, allocations: 9.874 MB / 1.023 GB, free: 7.523 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001704/0.03565, allocations: 194.6 kB / 1.023 GB, free: 7.332 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.005114/0.04076, allocations: 3.834 MB / 1.027 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.004798/0.04556, allocations: 2.198 MB / 1.029 GB, free: 1.277 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.004016/0.04958, allocations: 1.989 MB / 1.031 GB, free: 15.29 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.008299/0.05788, allocations: 8.133 MB / 1.039 GB, free: 7.133 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00762/0.0655, allocations: 5.249 MB / 1.044 GB, free: 1.762 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4113/0.4768, allocations: 4.888 MB / 1.049 GB, free: 57.91 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004614/0.4814, allocations: 3.458 MB / 1.052 GB, free: 57.91 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.001597/0.483, allocations: 0.6837 MB / 1.053 GB, free: 57.91 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.486, allocations: 1.375 MB / 1.054 GB, free: 57.91 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.00292/0.4889, allocations: 2.799 MB / 1.057 GB, free: 57.91 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.004173/0.493, allocations: 2.161 MB / 1.059 GB, free: 57.91 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.5032, allocations: 10.58 MB / 1.069 GB, free: 57.53 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.5032, allocations: 3.188 kB / 1.069 GB, free: 57.53 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5032, allocations: 0 / 1.069 GB, free: 57.53 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003283/0.5036, allocations: 5.5 kB / 1.069 GB, free: 57.53 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01364/0.5172, allocations: 5.402 MB / 1.075 GB, free: 55.49 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.5172, allocations: 8.891 kB / 1.075 GB, free: 55.49 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002665/0.5199, allocations: 0.7029 MB / 1.075 GB, free: 55.43 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004515/0.5244, allocations: 1.004 MB / 1.076 GB, free: 55.12 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006511/0.5309, allocations: 3.131 MB / 1.079 GB, free: 54.45 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003101/0.5312, allocations: 358.9 kB / 1.08 GB, free: 54.34 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001849/0.5331, allocations: 475.4 kB / 1.08 GB, free: 54.19 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01723/0.5503, allocations: 8.658 MB / 1.089 GB, free: 49.88 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000177/0.5505, allocations: 23.86 kB / 1.089 GB, free: 49.87 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001285/0.5518, allocations: 206.7 kB / 1.089 GB, free: 49.73 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004378/0.5522, allocations: 373.9 kB / 1.089 GB, free: 49.68 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.5632, allocations: 5.928 MB / 1.095 GB, free: 47.68 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03035/0.5936, allocations: 23.72 MB / 1.118 GB, free: 31.84 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002747/0.5963, allocations: 1.981 MB / 1.12 GB, free: 31.11 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.5979, allocations: 1.328 MB / 1.121 GB, free: 30.63 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-05/0.598, allocations: 18.81 kB / 1.121 GB, free: 30.63 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.598, allocations: 56.41 kB / 1.121 GB, free: 30.58 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=157): time 4.418e-06/0.598, allocations: 0 / 1.121 GB, free: 30.58 MB / 0.9948 GB Notification: Performance of matching and sorting (n=160): time 0.01053/0.6085, allocations: 6.665 MB / 1.128 GB, free: 27.72 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.6086, allocations: 69.66 kB / 1.128 GB, free: 27.66 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002579/0.6112, allocations: 1.911 MB / 1.13 GB, free: 26.88 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003033/0.6115, allocations: 53.11 kB / 1.13 GB, free: 26.83 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009823/0.6125, allocations: 2.184 MB / 1.132 GB, free: 25.17 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000503/0.613, allocations: 0.5749 MB / 1.133 GB, free: 24.71 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004624/0.6134, allocations: 399.9 kB / 1.133 GB, free: 24.52 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.71e-05/0.6134, allocations: 306.1 kB / 1.133 GB, free: 24.21 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.6146, allocations: 1.056 MB / 1.134 GB, free: 23.82 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.6161, allocations: 1.764 MB / 1.136 GB, free: 22.55 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/0.6191, allocations: 3.051 MB / 1.139 GB, free: 20.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-05/0.6191, allocations: 6.75 kB / 1.139 GB, free: 20.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00524/0.6243, allocations: 3.905 MB / 1.143 GB, free: 19.21 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.6244, allocations: 21.06 kB / 1.143 GB, free: 19.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.881e-05/0.6244, allocations: 27.03 kB / 1.143 GB, free: 19.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001567/0.626, allocations: 0.9273 MB / 1.144 GB, free: 18.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.6271, allocations: 423.3 kB / 1.144 GB, free: 18.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.6374, allocations: 21.37 MB / 1.165 GB, free: 1.129 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/0.6394, allocations: 129.6 kB / 1.165 GB, free: 1.09 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/0.6397, allocations: 91.98 kB / 1.165 GB, free: 1.074 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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%), (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 prepare postOptimizeDAE: time 0.002736/0.6424, allocations: 1.658 MB / 1.167 GB, free: 360 kB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005215/0.643, allocations: 265.7 kB / 1.167 GB, free: 224 kB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003647/0.6466, allocations: 3.232 MB / 1.17 GB, free: 14.86 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.6466, allocations: 16.78 kB / 1.17 GB, free: 14.86 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.912e-05/0.6466, allocations: 8.156 kB / 1.17 GB, free: 14.86 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/0.6466, allocations: 12.73 kB / 1.17 GB, free: 14.86 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.6574, allocations: 7.161 MB / 1.177 GB, free: 11.61 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.814e-06/0.6574, allocations: 5.812 kB / 1.177 GB, free: 11.61 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.6579, allocations: 216.9 kB / 1.177 GB, free: 11.56 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.6594, allocations: 0.8896 MB / 1.178 GB, free: 11.07 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/0.6595, allocations: 32 kB / 1.178 GB, free: 11.05 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/0.6729, allocations: 21.32 MB / 1.199 GB, free: 7.992 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.6729, allocations: 6.875 kB / 1.199 GB, free: 7.992 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004133/0.677, allocations: 3.361 MB / 1.202 GB, free: 5.242 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.6781, allocations: 479.6 kB / 1.203 GB, free: 4.777 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/0.6785, allocations: 39.94 kB / 1.203 GB, free: 4.738 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008004/0.6793, allocations: 99.88 kB / 1.203 GB, free: 4.641 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003509/0.6796, allocations: 151.9 kB / 1.203 GB, free: 4.496 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.852e-05/0.6797, allocations: 44 kB / 1.203 GB, free: 4.453 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001439/0.6811, allocations: 1.221 MB / 1.204 GB, free: 3.219 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6811, allocations: 0 / 1.204 GB, free: 3.219 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.003183/0.6843, allocations: 0.9023 MB / 1.205 GB, free: 2.316 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004509/0.6888, allocations: 3.964 MB / 1.209 GB, free: 14.28 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.004715/0.6936, allocations: 4.286 MB / 1.213 GB, free: 9.977 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/0.6936, allocations: 4 kB / 1.213 GB, free: 9.973 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002932/0.6965, allocations: 2.903 MB / 1.216 GB, free: 6.949 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002733/0.6992, allocations: 0.8276 MB / 1.217 GB, free: 6.141 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03501/0.7342, allocations: 25.26 MB / 1.242 GB, free: 11.97 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003367/0.7376, allocations: 2.669 MB / 1.244 GB, free: 9.262 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.00145/0.739, allocations: 0.5332 MB / 1.245 GB, free: 8.723 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002058/0.7411, allocations: 1.66 MB / 1.246 GB, free: 7.062 MB / 1.073 GB Notification: Performance of SimCode: time 2.013e-06/0.7411, allocations: 0 / 1.246 GB, free: 7.062 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1086/0.8497, allocations: 74.94 MB / 1.32 GB, free: 13.61 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.7/9.55, allocations: 10.67 kB / 1.32 GB, free: 13.6 MB / 1.151 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.751258582808077]