Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002344/0.002344, allocations: 188.5 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.002/3.002, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 65.45 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.2611, allocations: 157.4 MB / 1.052 GB, free: 8.703 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03641/0.2976, allocations: 37.26 MB / 1.089 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01905/0.3167, allocations: 12.95 MB / 1.101 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00331/0.32, allocations: 155.1 kB / 1.102 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.008695/0.3288, allocations: 3.621 MB / 1.105 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.005913/0.3347, allocations: 2.302 MB / 1.107 GB, free: 252 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005734/0.3405, allocations: 2.469 MB / 1.11 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.009949/0.3504, allocations: 9.61 MB / 1.119 GB, free: 4.141 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01623/0.3667, allocations: 12.74 MB / 1.132 GB, free: 7.277 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00557/0.3723, allocations: 4.069 MB / 1.136 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006108/0.3784, allocations: 4.568 MB / 1.14 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001927/0.3803, allocations: 0.7773 MB / 1.141 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004153/0.3845, allocations: 1.779 MB / 1.143 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003748/0.3883, allocations: 3.037 MB / 1.146 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005833/0.3941, allocations: 3.587 MB / 1.149 GB, free: 5.41 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.4049, allocations: 11.88 MB / 1.161 GB, free: 9.496 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4049, allocations: 0 / 1.161 GB, free: 9.496 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4049, allocations: 0 / 1.161 GB, free: 9.496 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002245/0.4051, allocations: 0 / 1.161 GB, free: 9.496 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.0114/0.4165, allocations: 6.358 MB / 1.167 GB, free: 3.066 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4166, allocations: 12.62 kB / 1.167 GB, free: 3.055 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009082/0.4175, allocations: 0.7597 MB / 1.168 GB, free: 2.285 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007146/0.4247, allocations: 1.301 MB / 1.169 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005281/0.43, allocations: 3.568 MB / 1.172 GB, free: 13.33 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.4302, allocations: 378.4 kB / 1.173 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007593/0.431, allocations: 0.4962 MB / 1.173 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.443, allocations: 8.886 MB / 1.182 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.4431, allocations: 31.7 kB / 1.182 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005029/0.4436, allocations: 223.9 kB / 1.182 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001872/0.4455, allocations: 0.6343 MB / 1.183 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009725/0.4552, allocations: 7.01 MB / 1.19 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03883/0.4941, allocations: 40.33 MB / 1.229 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.4976, allocations: 2.896 MB / 1.232 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003098/0.5007, allocations: 2.667 MB / 1.234 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/0.5009, allocations: 26.09 kB / 1.234 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/0.501, allocations: 68.59 kB / 1.234 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=265): time 4.188e-06/0.501, allocations: 7.938 kB / 1.234 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of matching and sorting (n=424): time 0.7069/1.208, allocations: 74.71 MB / 1.307 GB, free: 179.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/1.208, allocations: 93.2 kB / 1.308 GB, free: 179.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001973/1.21, allocations: 2.363 MB / 1.31 GB, free: 178.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002633/1.21, allocations: 101.1 kB / 1.31 GB, free: 178.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007476/1.211, allocations: 2.338 MB / 1.312 GB, free: 176.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007009/1.212, allocations: 1.439 MB / 1.314 GB, free: 175 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/1.213, allocations: 0.7199 MB / 1.314 GB, free: 174.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 3.047e-05/1.213, allocations: 305.1 kB / 1.315 GB, free: 174.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002952/1.216, allocations: 3 MB / 1.318 GB, free: 171.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003259/1.219, allocations: 3.839 MB / 1.321 GB, free: 167.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006605/1.226, allocations: 7.387 MB / 1.329 GB, free: 159.5 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/1.226, allocations: 4 kB / 1.329 GB, free: 159.5 MB / 1.014 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03109/1.257, allocations: 12.56 MB / 1.341 GB, free: 146.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.797e-05/1.257, allocations: 15.98 kB / 1.341 GB, free: 146.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.896e-05/1.257, allocations: 24 kB / 1.341 GB, free: 146.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03451/1.291, allocations: 6.069 MB / 1.347 GB, free: 140.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003125/1.295, allocations: 495.2 kB / 1.347 GB, free: 140.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06902/1.364, allocations: 73.04 MB / 1.419 GB, free: 63.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/1.367, allocations: 219.8 kB / 1.419 GB, free: 63.68 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004322/1.367, allocations: 156 kB / 1.419 GB, free: 63.53 MB / 1.014 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002588/1.37, allocations: 1.99 MB / 1.421 GB, free: 61.53 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007249/1.37, allocations: 391.4 kB / 1.421 GB, free: 61.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02206/1.392, allocations: 12.22 MB / 1.433 GB, free: 48.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/1.393, allocations: 48.95 kB / 1.433 GB, free: 48.76 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.262e-05/1.393, allocations: 57.69 kB / 1.433 GB, free: 48.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/1.393, allocations: 19.92 kB / 1.433 GB, free: 48.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0286/1.421, allocations: 19.13 MB / 1.452 GB, free: 29.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.421, allocations: 8 kB / 1.452 GB, free: 29.35 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/1.422, allocations: 291.5 kB / 1.452 GB, free: 29.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01671/1.439, allocations: 5.622 MB / 1.458 GB, free: 23.38 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000338/1.439, allocations: 80 kB / 1.458 GB, free: 23.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07044/1.51, allocations: 70.66 MB / 1.527 GB, free: 13.34 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/1.51, allocations: 11.94 kB / 1.527 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02795/1.538, allocations: 15.62 MB / 1.542 GB, free: 13.48 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/1.54, allocations: 1.039 MB / 1.543 GB, free: 12.42 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006951/1.541, allocations: 83.98 kB / 1.543 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002262/1.543, allocations: 215.7 kB / 1.543 GB, free: 12.12 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001141/1.544, allocations: 410.3 kB / 1.544 GB, free: 11.72 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000281/1.544, allocations: 108 kB / 1.544 GB, free: 11.62 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001988/1.546, allocations: 1.556 MB / 1.545 GB, free: 10.06 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.7e-07/1.546, allocations: 0 / 1.545 GB, free: 10.06 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004667/1.551, allocations: 1.863 MB / 1.547 GB, free: 8.199 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02826/1.579, allocations: 16.29 MB / 1.563 GB, free: 7.676 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.03869/1.618, allocations: 14.98 MB / 1.578 GB, free: 8.406 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/1.618, allocations: 0 / 1.578 GB, free: 8.406 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.01458/1.633, allocations: 8.353 MB / 1.586 GB, free: 15.75 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004905/1.637, allocations: 1.196 MB / 1.587 GB, free: 14.59 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1047/1.742, allocations: 62.69 MB / 1.648 GB, free: 11.77 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004775/1.747, allocations: 4.09 MB / 1.652 GB, free: 7.648 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.002145/1.749, allocations: 0.663 MB / 1.653 GB, free: 6.98 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00205/1.751, allocations: 2.128 MB / 1.655 GB, free: 4.852 MB / 1.201 GB Notification: Performance of SimCode: time 4.11e-07/1.751, allocations: 0 / 1.655 GB, free: 4.852 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.465/3.216, allocations: 152.2 MB / 1.804 GB, free: 409.1 MB / 1.279 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002698/3.217, allocations: 261 kB / 1.804 GB, free: 408.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.525/11.74, allocations: 2.812 kB / 1.804 GB, free: 408.8 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches