Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0008012/0.0008012, 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.0008286/0.0008286, 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.8465/0.8465, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.611/1.611, 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_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.174e-05/1.343e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.02197/0.02198, allocations: 30.84 MB / 0.9806 GB, free: 4.555 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01206/0.03404, allocations: 10.13 MB / 0.9905 GB, free: 10.39 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.03623, allocations: 198.5 kB / 0.9907 GB, free: 10.2 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.004515/0.04074, allocations: 3.74 MB / 0.9944 GB, free: 6.449 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.003959/0.0447, allocations: 2 MB / 0.9963 GB, free: 4.438 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004149/0.04885, allocations: 2.155 MB / 0.9984 GB, free: 2.285 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.00685/0.0557, allocations: 7.465 MB / 1.006 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004634/0.06033, allocations: 5.128 MB / 1.011 GB, free: 5.551 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004406/0.06474, allocations: 4.592 MB / 1.015 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002719/0.06746, allocations: 3.238 MB / 1.018 GB, free: 13.7 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0005546/0.06801, allocations: 0.6445 MB / 1.019 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.07014, allocations: 1.676 MB / 1.021 GB, free: 11.38 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.00147/0.07161, allocations: 2.728 MB / 1.023 GB, free: 8.645 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.07308, allocations: 2.012 MB / 1.025 GB, free: 6.629 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.006703/0.07978, allocations: 10.32 MB / 1.035 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.07979, allocations: 0 / 1.035 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.245e-06/0.07979, allocations: 0 / 1.035 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001102/0.0799, allocations: 0 / 1.035 GB, free: 12.29 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.005917/0.08582, allocations: 4.994 MB / 1.04 GB, free: 7.23 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.08586, allocations: 8.031 kB / 1.04 GB, free: 7.223 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009238/0.08678, allocations: 0.6898 MB / 1.041 GB, free: 6.523 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/0.08943, allocations: 0.9891 MB / 1.042 GB, free: 5.531 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/0.09273, allocations: 2.995 MB / 1.045 GB, free: 2.465 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.09289, allocations: 349.7 kB / 1.045 GB, free: 2.121 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004661/0.09336, allocations: 460.3 kB / 1.046 GB, free: 1.672 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4295/0.5229, allocations: 7.973 MB / 1.053 GB, free: 123.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001139/0.523, allocations: 27.45 kB / 1.053 GB, free: 123.5 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003133/0.5233, allocations: 200.2 kB / 1.054 GB, free: 123.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002184/0.5235, allocations: 312.5 kB / 1.054 GB, free: 123.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006314/0.5298, allocations: 5.704 MB / 1.059 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01954/0.5493, allocations: 22.64 MB / 1.082 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.551, allocations: 1.553 MB / 1.083 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.5522, allocations: 1.122 MB / 1.084 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.452e-05/0.5523, allocations: 14.03 kB / 1.084 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.5523, allocations: 52.69 kB / 1.084 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=133): time 4.038e-06/0.5523, allocations: 3.5 kB / 1.084 GB, free: 105.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=136): time 0.009677/0.562, allocations: 6.206 MB / 1.09 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.562, allocations: 70.34 kB / 1.09 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.5638, allocations: 1.524 MB / 1.092 GB, free: 102.2 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.5639, allocations: 46.02 kB / 1.092 GB, free: 102.1 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007926/0.5647, allocations: 2.073 MB / 1.094 GB, free: 100.8 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.565, allocations: 0.4921 MB / 1.094 GB, free: 100.4 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003348/0.5653, allocations: 343.1 kB / 1.095 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.238e-05/0.5654, allocations: 306.2 kB / 1.095 GB, free: 99.9 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009061/0.5663, allocations: 0.9171 MB / 1.096 GB, free: 99.56 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.5674, allocations: 1.594 MB / 1.097 GB, free: 98.35 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002244/0.5696, allocations: 2.739 MB / 1.1 GB, free: 96.55 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.564e-05/0.5697, allocations: 5.5 kB / 1.1 GB, free: 96.55 MB / 0.9948 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004272/0.5739, allocations: 3.516 MB / 1.104 GB, free: 95.09 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.574, allocations: 15.7 kB / 1.104 GB, free: 95.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/0.574, allocations: 22.25 kB / 1.104 GB, free: 95.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.5756, allocations: 0.8986 MB / 1.104 GB, free: 94.78 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008187/0.5764, allocations: 352.8 kB / 1.105 GB, free: 94.74 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.5878, allocations: 21.72 MB / 1.126 GB, free: 76.49 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.5896, allocations: 100.3 kB / 1.126 GB, free: 76.46 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/0.5897, allocations: 86.14 kB / 1.126 GB, free: 76.45 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 (185): * Single equations (assignments): 173 * 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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.00235/0.5921, allocations: 1.605 MB / 1.128 GB, free: 75.73 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/0.5924, allocations: 218.1 kB / 1.128 GB, free: 75.62 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/0.596, allocations: 2.959 MB / 1.131 GB, free: 74.36 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.596, allocations: 13.25 kB / 1.131 GB, free: 74.36 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.684e-05/0.596, allocations: 10.34 kB / 1.131 GB, free: 74.36 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.596, allocations: 6.938 kB / 1.131 GB, free: 74.36 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00981/0.6058, allocations: 6.736 MB / 1.137 GB, free: 71.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.6059, allocations: 5.312 kB / 1.137 GB, free: 71.58 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005047/0.6064, allocations: 172.5 kB / 1.138 GB, free: 71.57 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001481/0.6078, allocations: 0.8204 MB / 1.138 GB, free: 71.28 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-05/0.6079, allocations: 26.53 kB / 1.138 GB, free: 71.26 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/0.6193, allocations: 20.57 MB / 1.159 GB, free: 53.74 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.6193, allocations: 5.375 kB / 1.159 GB, free: 53.74 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00372/0.623, allocations: 3.011 MB / 1.162 GB, free: 52.3 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009076/0.6239, allocations: 394.2 kB / 1.162 GB, free: 52.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002206/0.6242, allocations: 28.17 kB / 1.162 GB, free: 52.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004905/0.6247, allocations: 73.05 kB / 1.162 GB, free: 52.05 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003485/0.625, allocations: 132.4 kB / 1.162 GB, free: 52.03 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.438e-05/0.6251, allocations: 38.94 kB / 1.162 GB, free: 52.02 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001133/0.6262, allocations: 0.9787 MB / 1.163 GB, free: 51.61 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6262, allocations: 1.562 kB / 1.163 GB, free: 51.61 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002503/0.6287, allocations: 0.7843 MB / 1.164 GB, free: 51.55 MB / 0.9948 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 (91): * Single equations (assignments): 79 * 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,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,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003065/0.6318, allocations: 3.595 MB / 1.167 GB, free: 49.57 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00353/0.6353, allocations: 3.917 MB / 1.171 GB, free: 47.24 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6353, allocations: 1 kB / 1.171 GB, free: 47.24 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001819/0.6371, allocations: 2.663 MB / 1.174 GB, free: 45.39 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.639, allocations: 0.7345 MB / 1.175 GB, free: 45.02 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/0.6614, allocations: 22.52 MB / 1.197 GB, free: 21.96 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002338/0.6638, allocations: 2.573 MB / 1.199 GB, free: 19.36 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0009396/0.6647, allocations: 449.9 kB / 1.199 GB, free: 18.91 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009791/0.6657, allocations: 1.547 MB / 1.201 GB, free: 17.37 MB / 0.9948 GB Notification: Performance of SimCode: time 1.533e-06/0.6657, allocations: 4 kB / 1.201 GB, free: 17.36 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09158/0.7573, allocations: 65.79 MB / 1.265 GB, free: 0.5664 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.259/9.017, allocations: 6.469 kB / 1.265 GB, free: 0.5625 MB / 1.042 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.075381332077086]