Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.0007983/0.0007983, 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.0007997/0.0007997, 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.8401/0.8401, 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.612/1.612, allocations: 359 MB / 0.6037 GB, free: 11.09 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_R_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.323e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02593/0.02594, allocations: 35.68 MB / 0.9854 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.03803, allocations: 10.96 MB / 0.9961 GB, free: 4.695 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.03939, allocations: 202.5 kB / 0.9962 GB, free: 4.496 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.004473/0.04387, allocations: 4.394 MB / 1.001 GB, free: 92 kB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.002962/0.04683, allocations: 2.392 MB / 1.003 GB, free: 13.68 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.04959, allocations: 2.192 MB / 1.005 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.005656/0.05525, allocations: 9.469 MB / 1.014 GB, free: 1.992 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00556/0.06081, allocations: 6.357 MB / 1.02 GB, free: 11.52 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005022/0.06583, allocations: 5.777 MB / 1.026 GB, free: 5.73 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003403/0.06923, allocations: 4.193 MB / 1.03 GB, free: 1.527 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0006258/0.06986, allocations: 0.8281 MB / 1.031 GB, free: 0.6992 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.07147, allocations: 1.51 MB / 1.032 GB, free: 15.19 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.002138/0.07361, allocations: 3.363 MB / 1.036 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001722/0.07533, allocations: 2.565 MB / 1.038 GB, free: 9.246 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.4358/0.5111, allocations: 12.57 MB / 1.051 GB, free: 71.95 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5112, allocations: 0.6562 kB / 1.051 GB, free: 71.95 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5112, allocations: 0 / 1.051 GB, free: 71.95 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003411/0.5115, allocations: 1.969 kB / 1.051 GB, free: 71.95 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.006885/0.5184, allocations: 6.332 MB / 1.057 GB, free: 69.82 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.5184, allocations: 11.25 kB / 1.057 GB, free: 69.82 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006507/0.5191, allocations: 0.8248 MB / 1.058 GB, free: 69.75 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002297/0.5214, allocations: 1.106 MB / 1.059 GB, free: 69.4 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003302/0.5247, allocations: 3.584 MB / 1.062 GB, free: 68.68 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001499/0.5248, allocations: 418.7 kB / 1.063 GB, free: 68.66 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005001/0.5253, allocations: 0.5453 MB / 1.063 GB, free: 68.66 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007666/0.533, allocations: 10.28 MB / 1.073 GB, free: 66.51 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-05/0.5331, allocations: 22.8 kB / 1.073 GB, free: 66.5 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00039/0.5335, allocations: 247.5 kB / 1.073 GB, free: 66.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003032/0.5338, allocations: 423.3 kB / 1.074 GB, free: 66.49 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007597/0.5414, allocations: 7.119 MB / 1.081 GB, free: 66.44 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02233/0.5637, allocations: 26.22 MB / 1.106 GB, free: 49.88 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003093/0.5668, allocations: 2.899 MB / 1.109 GB, free: 48.8 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/0.5689, allocations: 1.939 MB / 1.111 GB, free: 48.09 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.01e-05/0.569, allocations: 25.25 kB / 1.111 GB, free: 48.08 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/0.569, allocations: 60.5 kB / 1.111 GB, free: 48.02 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=209): time 4.148e-06/0.569, allocations: 0 / 1.111 GB, free: 48.02 MB / 0.9948 GB Notification: Performance of matching and sorting (n=212): time 0.01626/0.5853, allocations: 10.27 MB / 1.121 GB, free: 44.26 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.5853, allocations: 73.06 kB / 1.121 GB, free: 44.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/0.5873, allocations: 2.051 MB / 1.123 GB, free: 43.39 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.241e-05/0.5874, allocations: 64.52 kB / 1.123 GB, free: 43.33 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009637/0.5884, allocations: 2.463 MB / 1.126 GB, free: 41.45 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/0.5887, allocations: 0.7652 MB / 1.126 GB, free: 40.84 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004948/0.5892, allocations: 472.4 kB / 1.127 GB, free: 40.62 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.978e-05/0.5892, allocations: 306.3 kB / 1.127 GB, free: 40.32 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.5906, allocations: 1.374 MB / 1.129 GB, free: 39.8 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.5923, allocations: 2.111 MB / 1.131 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/0.5956, allocations: 3.765 MB / 1.134 GB, free: 36.28 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.5956, allocations: 11.09 kB / 1.134 GB, free: 36.28 MB / 0.9948 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005562/0.6012, allocations: 5.024 MB / 1.139 GB, free: 34.45 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.6012, allocations: 14.66 kB / 1.139 GB, free: 34.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.6012, allocations: 23.28 kB / 1.139 GB, free: 34.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002271/0.6035, allocations: 1.586 MB / 1.141 GB, free: 34.08 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/0.6044, allocations: 457.6 kB / 1.141 GB, free: 34.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01215/0.6165, allocations: 17.9 MB / 1.159 GB, free: 23.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.6179, allocations: 147.2 kB / 1.159 GB, free: 23.47 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001217/0.618, allocations: 110.2 kB / 1.159 GB, free: 23.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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002488/0.6205, allocations: 1.943 MB / 1.161 GB, free: 22.63 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/0.6208, allocations: 301.6 kB / 1.161 GB, free: 22.48 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004047/0.6248, allocations: 4.4 MB / 1.165 GB, free: 20.72 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.6248, allocations: 23.59 kB / 1.165 GB, free: 20.72 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.6248, allocations: 15.84 kB / 1.165 GB, free: 20.72 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.6248, allocations: 10.92 kB / 1.165 GB, free: 20.72 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008678/0.6335, allocations: 9.169 MB / 1.174 GB, free: 17.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.6335, allocations: 11.75 kB / 1.174 GB, free: 17.12 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000475/0.634, allocations: 234.6 kB / 1.175 GB, free: 17.12 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001647/0.6357, allocations: 1.425 MB / 1.176 GB, free: 16.73 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.759e-05/0.6357, allocations: 42.64 kB / 1.176 GB, free: 16.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01067/0.6464, allocations: 17.92 MB / 1.194 GB, free: 1.211 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.6464, allocations: 7.375 kB / 1.194 GB, free: 1.207 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00427/0.6507, allocations: 4.486 MB / 1.198 GB, free: 12.7 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008983/0.6516, allocations: 0.5721 MB / 1.199 GB, free: 12.12 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.6518, allocations: 43.98 kB / 1.199 GB, free: 12.08 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/0.6524, allocations: 116.1 kB / 1.199 GB, free: 11.96 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003002/0.6527, allocations: 187 kB / 1.199 GB, free: 11.79 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.711e-05/0.6528, allocations: 64 kB / 1.199 GB, free: 11.72 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001247/0.6541, allocations: 1.319 MB / 1.2 GB, free: 10.39 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.6541, allocations: 4 kB / 1.2 GB, free: 10.39 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0028/0.6569, allocations: 1.141 MB / 1.201 GB, free: 9.25 MB / 1.01 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004596/0.6615, allocations: 5.105 MB / 1.206 GB, free: 4.129 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004826/0.6663, allocations: 4.539 MB / 1.211 GB, free: 15.67 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.6663, allocations: 4 kB / 1.211 GB, free: 15.66 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002563/0.6689, allocations: 2.798 MB / 1.213 GB, free: 12.86 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.6709, allocations: 0.8918 MB / 1.214 GB, free: 11.99 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03211/0.703, allocations: 30.63 MB / 1.244 GB, free: 12.4 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003019/0.706, allocations: 3.161 MB / 1.247 GB, free: 9.207 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.001275/0.7073, allocations: 0.5556 MB / 1.248 GB, free: 8.645 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/0.7089, allocations: 1.953 MB / 1.25 GB, free: 6.688 MB / 1.057 GB Notification: Performance of SimCode: time 1.684e-06/0.7089, allocations: 0 / 1.25 GB, free: 6.688 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09592/0.8048, allocations: 90.38 MB / 1.338 GB, free: 13.96 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.13/9.935, allocations: 10.59 kB / 1.338 GB, free: 13.96 MB / 1.151 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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: 14.191484469920397]