Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001725/0.001725, allocations: 123.1 kB / 17.17 MB, free: 5.918 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.002128/0.002128, allocations: 210.3 kB / 20.13 MB, free: 2.98 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.527/1.527, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.106/3.106, allocations: 0.5003 GB / 0.8026 GB, free: 6.891 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001992/0.001992, allocations: 70.09 kB / 1.165 GB, free: 0.5234 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9598/0.9618, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03908/1.001, allocations: 35.72 MB / 1.375 GB, free: 8.188 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0209/1.022, allocations: 10.09 MB / 1.385 GB, free: 1.23 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004898/1.027, allocations: 188.1 kB / 1.385 GB, free: 1.145 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01209/1.039, allocations: 3.874 MB / 1.389 GB, free: 14.83 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008218/1.047, allocations: 2.141 MB / 1.391 GB, free: 13.5 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007414/1.054, allocations: 1.961 MB / 1.393 GB, free: 12.39 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01279/1.067, allocations: 7.974 MB / 1.401 GB, free: 8.734 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01561/1.083, allocations: 7.132 MB / 1.408 GB, free: 5.883 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008872/1.092, allocations: 3.47 MB / 1.411 GB, free: 4.301 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009736/1.101, allocations: 3.934 MB / 1.415 GB, free: 2.285 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003349/1.105, allocations: 0.6784 MB / 1.416 GB, free: 2.285 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006282/1.111, allocations: 1.469 MB / 1.417 GB, free: 1.859 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.005745/1.117, allocations: 2.69 MB / 1.42 GB, free: 96 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.008143/1.125, allocations: 3.107 MB / 1.423 GB, free: 13.92 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01569/1.141, allocations: 10.41 MB / 1.433 GB, free: 6.363 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.141, allocations: 0 / 1.433 GB, free: 6.363 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.502e-06/1.141, allocations: 0 / 1.433 GB, free: 6.363 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002875/1.141, allocations: 0 / 1.433 GB, free: 6.363 MB / 1.107 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.016/1.157, allocations: 5.546 MB / 1.438 GB, free: 2.633 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.157, allocations: 9.125 kB / 1.438 GB, free: 2.633 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001816/1.157, allocations: 127.2 kB / 1.438 GB, free: 2.621 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002373/1.159, allocations: 0.6968 MB / 1.439 GB, free: 2.129 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006441/1.166, allocations: 0.9876 MB / 1.44 GB, free: 1.645 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007765/1.174, allocations: 3.203 MB / 1.443 GB, free: 14.93 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/1.174, allocations: 357.9 kB / 1.443 GB, free: 14.57 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/1.175, allocations: 464.3 kB / 1.444 GB, free: 14.12 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/1.193, allocations: 7.902 MB / 1.452 GB, free: 5.855 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/1.193, allocations: 23.81 kB / 1.452 GB, free: 5.832 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007966/1.194, allocations: 216 kB / 1.452 GB, free: 5.621 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000577/1.194, allocations: 369 kB / 1.452 GB, free: 5.258 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/1.206, allocations: 5.941 MB / 1.458 GB, free: 15.3 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04645/1.253, allocations: 36 MB / 1.493 GB, free: 8.074 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003777/1.256, allocations: 1.998 MB / 1.495 GB, free: 6.062 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/1.258, allocations: 1.336 MB / 1.496 GB, free: 4.727 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/1.259, allocations: 25.23 kB / 1.496 GB, free: 4.703 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.201e-05/1.259, allocations: 55.88 kB / 1.496 GB, free: 4.641 MB / 1.17 GB Notification: Performance of pre-optimization done (n=157): time 3.737e-06/1.259, allocations: 0 / 1.496 GB, free: 4.641 MB / 1.17 GB Notification: Performance of matching and sorting (n=160): time 0.01573/1.274, allocations: 7.563 MB / 1.504 GB, free: 12.81 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/1.274, allocations: 72.72 kB / 1.504 GB, free: 12.73 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002805/1.277, allocations: 1.868 MB / 1.506 GB, free: 10.83 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002285/1.277, allocations: 53.7 kB / 1.506 GB, free: 10.77 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001674/1.279, allocations: 2.188 MB / 1.508 GB, free: 8.566 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006742/1.28, allocations: 0.5809 MB / 1.508 GB, free: 7.98 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006884/1.28, allocations: 408 kB / 1.509 GB, free: 7.574 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.281, allocations: 301.1 kB / 1.509 GB, free: 7.277 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001846/1.282, allocations: 1.066 MB / 1.51 GB, free: 6.207 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002471/1.285, allocations: 1.756 MB / 1.512 GB, free: 4.133 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004369/1.289, allocations: 3.053 MB / 1.515 GB, free: 0.7656 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/1.289, allocations: 7.938 kB / 1.515 GB, free: 0.7578 MB / 1.186 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007351/1.297, allocations: 3.903 MB / 1.519 GB, free: 12.8 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.864e-05/1.297, allocations: 16 kB / 1.519 GB, free: 12.79 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/1.297, allocations: 24 kB / 1.519 GB, free: 12.77 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002682/1.299, allocations: 0.9311 MB / 1.52 GB, free: 11.8 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/1.301, allocations: 427.3 kB / 1.52 GB, free: 11.38 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02335/1.324, allocations: 22.78 MB / 1.542 GB, free: 2.922 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/1.327, allocations: 123.9 kB / 1.542 GB, free: 2.801 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004184/1.328, allocations: 99.92 kB / 1.543 GB, free: 2.703 MB / 1.217 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.003735/1.332, allocations: 1.652 MB / 1.544 GB, free: 1.039 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007152/1.332, allocations: 266.4 kB / 1.544 GB, free: 0.7773 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006124/1.338, allocations: 3.232 MB / 1.548 GB, free: 13.5 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/1.338, allocations: 19.98 kB / 1.548 GB, free: 13.48 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/1.338, allocations: 12 kB / 1.548 GB, free: 13.46 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/1.338, allocations: 7.969 kB / 1.548 GB, free: 13.46 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01414/1.353, allocations: 7.521 MB / 1.555 GB, free: 5.777 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.353, allocations: 4 kB / 1.555 GB, free: 5.773 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009734/1.354, allocations: 216.2 kB / 1.555 GB, free: 5.562 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002534/1.356, allocations: 0.8963 MB / 1.556 GB, free: 4.629 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/1.356, allocations: 36 kB / 1.556 GB, free: 4.594 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02339/1.38, allocations: 22.74 MB / 1.578 GB, free: 12.16 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/1.38, allocations: 4 kB / 1.578 GB, free: 12.16 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006266/1.386, allocations: 3.361 MB / 1.582 GB, free: 8.684 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/1.388, allocations: 0.5461 MB / 1.582 GB, free: 8.117 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004766/1.388, allocations: 39.88 kB / 1.582 GB, free: 8.078 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/1.389, allocations: 95.88 kB / 1.582 GB, free: 7.984 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004645/1.39, allocations: 141 kB / 1.582 GB, free: 7.848 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/1.39, allocations: 48 kB / 1.582 GB, free: 7.801 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.001948/1.392, allocations: 1.225 MB / 1.584 GB, free: 6.562 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.5e-07/1.392, allocations: 0 / 1.584 GB, free: 6.562 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003496/1.395, allocations: 0.9023 MB / 1.584 GB, free: 5.66 MB / 1.264 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.006234/1.402, allocations: 3.969 MB / 1.588 GB, free: 1.566 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.007724/1.409, allocations: 4.284 MB / 1.593 GB, free: 13.14 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.97e-05/1.409, allocations: 12.22 kB / 1.593 GB, free: 13.12 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004783/1.414, allocations: 2.898 MB / 1.595 GB, free: 10.07 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004236/1.418, allocations: 0.8395 MB / 1.596 GB, free: 9.246 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04663/1.465, allocations: 25.13 MB / 1.621 GB, free: 15.01 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004455/1.469, allocations: 3.209 MB / 1.624 GB, free: 11.77 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001939/1.471, allocations: 0.5254 MB / 1.624 GB, free: 11.24 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002383/1.474, allocations: 1.659 MB / 1.626 GB, free: 9.582 MB / 1.311 GB Notification: Performance of SimCode: time 1.944e-06/1.474, allocations: 0 / 1.626 GB, free: 9.582 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1544/1.628, allocations: 70.81 MB / 1.695 GB, free: 3.672 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/16.56, allocations: 15.12 kB / 1.695 GB, free: 3.66 MB / 1.373 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.419216017005965]