Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001388/0.001388, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001456/0.001456, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.555/1.555, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.877/2.877, allocations: 476.7 MB / 0.7678 GB, free: 9.438 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 75.88 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.016/1.018, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.05001/1.068, allocations: 35.73 MB / 1.314 GB, free: 3.629 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.022/1.09, allocations: 10.1 MB / 1.324 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004818/1.095, allocations: 191.8 kB / 1.324 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01235/1.107, allocations: 3.857 MB / 1.328 GB, free: 10.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009062/1.116, allocations: 2.149 MB / 1.33 GB, free: 8.934 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.007121/1.123, allocations: 1.971 MB / 1.332 GB, free: 7.531 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01336/1.136, allocations: 7.973 MB / 1.339 GB, free: 2.941 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01605/1.152, allocations: 7.13 MB / 1.346 GB, free: 15.45 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008862/1.161, allocations: 3.464 MB / 1.35 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008738/1.17, allocations: 3.933 MB / 1.354 GB, free: 11.03 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.003148/1.173, allocations: 0.6799 MB / 1.354 GB, free: 11.03 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006234/1.179, allocations: 1.472 MB / 1.356 GB, free: 10.6 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.006392/1.186, allocations: 2.683 MB / 1.358 GB, free: 8.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.009818/1.196, allocations: 3.102 MB / 1.361 GB, free: 6.672 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01918/1.215, allocations: 10.41 MB / 1.372 GB, free: 13.35 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/1.215, allocations: 4 kB / 1.372 GB, free: 13.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.066e-06/1.215, allocations: 3.938 kB / 1.372 GB, free: 13.34 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0004335/1.215, allocations: 0 / 1.372 GB, free: 13.34 MB / 1.061 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.01874/1.234, allocations: 5.538 MB / 1.377 GB, free: 7.723 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/1.234, allocations: 8.031 kB / 1.377 GB, free: 7.715 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001629/1.234, allocations: 129.8 kB / 1.377 GB, free: 7.586 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002524/1.237, allocations: 0.6945 MB / 1.378 GB, free: 6.883 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006455/1.243, allocations: 0.9928 MB / 1.379 GB, free: 5.887 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008077/1.251, allocations: 3.196 MB / 1.382 GB, free: 2.637 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004663/1.252, allocations: 357.9 kB / 1.382 GB, free: 2.285 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001788/1.254, allocations: 464.3 kB / 1.383 GB, free: 1.832 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02002/1.274, allocations: 7.91 MB / 1.39 GB, free: 9.559 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002193/1.274, allocations: 23.83 kB / 1.39 GB, free: 9.535 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001506/1.275, allocations: 208 kB / 1.391 GB, free: 9.332 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007215/1.276, allocations: 373 kB / 1.391 GB, free: 8.965 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01426/1.29, allocations: 5.933 MB / 1.397 GB, free: 3.016 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05292/1.343, allocations: 36 MB / 1.432 GB, free: 11.79 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004285/1.348, allocations: 1.998 MB / 1.434 GB, free: 9.777 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002405/1.35, allocations: 1.336 MB / 1.435 GB, free: 8.441 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/1.35, allocations: 25.17 kB / 1.435 GB, free: 8.418 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/1.35, allocations: 51.88 kB / 1.435 GB, free: 8.359 MB / 1.123 GB Notification: Performance of pre-optimization done (n=157): time 5.48e-06/1.35, allocations: 4 kB / 1.435 GB, free: 8.355 MB / 1.123 GB Notification: Performance of matching and sorting (n=160): time 0.01728/1.367, allocations: 7.567 MB / 1.443 GB, free: 0.5234 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/1.367, allocations: 68.72 kB / 1.443 GB, free: 456 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00359/1.371, allocations: 1.868 MB / 1.445 GB, free: 14.55 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002259/1.371, allocations: 53.7 kB / 1.445 GB, free: 14.49 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001928/1.373, allocations: 2.188 MB / 1.447 GB, free: 12.29 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008338/1.374, allocations: 0.5887 MB / 1.447 GB, free: 11.69 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/1.375, allocations: 408 kB / 1.448 GB, free: 11.29 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.375, allocations: 301.1 kB / 1.448 GB, free: 10.99 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002024/1.377, allocations: 1.062 MB / 1.449 GB, free: 9.922 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/1.38, allocations: 1.764 MB / 1.451 GB, free: 7.84 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004752/1.385, allocations: 3.049 MB / 1.454 GB, free: 4.477 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-05/1.385, allocations: 11.94 kB / 1.454 GB, free: 4.465 MB / 1.139 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007818/1.392, allocations: 3.898 MB / 1.458 GB, free: 0.5195 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.362e-05/1.393, allocations: 15.98 kB / 1.458 GB, free: 0.5039 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-05/1.393, allocations: 27.94 kB / 1.458 GB, free: 488 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002928/1.395, allocations: 0.9356 MB / 1.458 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/1.397, allocations: 419.3 kB / 1.459 GB, free: 15.09 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02481/1.422, allocations: 22.77 MB / 1.481 GB, free: 6.641 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/1.424, allocations: 123.9 kB / 1.481 GB, free: 6.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002572/1.425, allocations: 95.94 kB / 1.481 GB, free: 6.426 MB / 1.17 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.003143/1.428, allocations: 1.65 MB / 1.483 GB, free: 4.766 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000677/1.429, allocations: 278.3 kB / 1.483 GB, free: 4.492 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006277/1.435, allocations: 3.228 MB / 1.486 GB, free: 1.215 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/1.435, allocations: 12 kB / 1.486 GB, free: 1.203 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.901e-05/1.435, allocations: 12 kB / 1.486 GB, free: 1.191 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.03e-05/1.435, allocations: 7.969 kB / 1.486 GB, free: 1.184 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/1.449, allocations: 7.533 MB / 1.494 GB, free: 9.496 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.449, allocations: 7.938 kB / 1.494 GB, free: 9.488 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009985/1.45, allocations: 207.7 kB / 1.494 GB, free: 9.285 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002647/1.453, allocations: 0.9043 MB / 1.495 GB, free: 8.344 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001537/1.453, allocations: 32 kB / 1.495 GB, free: 8.312 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02505/1.478, allocations: 22.74 MB / 1.517 GB, free: 15.89 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/1.478, allocations: 4 kB / 1.517 GB, free: 15.89 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006326/1.485, allocations: 3.365 MB / 1.52 GB, free: 12.41 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001395/1.486, allocations: 0.5345 MB / 1.521 GB, free: 11.85 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003248/1.486, allocations: 51.81 kB / 1.521 GB, free: 11.8 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/1.487, allocations: 91.89 kB / 1.521 GB, free: 11.71 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004597/1.488, allocations: 141 kB / 1.521 GB, free: 11.57 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.488, allocations: 44 kB / 1.521 GB, free: 11.53 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001989/1.49, allocations: 1.221 MB / 1.522 GB, free: 10.3 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/1.49, allocations: 0 / 1.522 GB, free: 10.3 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003495/1.493, allocations: 0.9023 MB / 1.523 GB, free: 9.395 MB / 1.217 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.006517/1.5, allocations: 3.981 MB / 1.527 GB, free: 5.293 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007533/1.508, allocations: 4.287 MB / 1.531 GB, free: 0.8516 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.508, allocations: 0 / 1.531 GB, free: 0.8516 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004772/1.512, allocations: 2.914 MB / 1.534 GB, free: 13.78 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004148/1.516, allocations: 0.8284 MB / 1.535 GB, free: 12.96 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04893/1.565, allocations: 25.14 MB / 1.56 GB, free: 2.723 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004556/1.57, allocations: 3.201 MB / 1.563 GB, free: 15.49 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001974/1.572, allocations: 0.537 MB / 1.563 GB, free: 14.95 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002307/1.574, allocations: 1.651 MB / 1.565 GB, free: 13.29 MB / 1.264 GB Notification: Performance of SimCode: time 1.262e-06/1.574, allocations: 0 / 1.565 GB, free: 13.29 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1637/1.738, allocations: 70.82 MB / 1.634 GB, free: 7.41 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.6/17.34, allocations: 19.28 kB / 1.634 GB, free: 7.395 MB / 1.326 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 24.883478997973725]