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.001503/0.001503, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.57/2.57, allocations: 461.9 MB / 0.7347 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 64.89 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.264, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04038/0.3044, allocations: 37.61 MB / 1.09 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02026/0.3247, allocations: 13.04 MB / 1.102 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004319/0.3291, allocations: 171.1 kB / 1.103 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009008/0.3381, allocations: 3.88 MB / 1.106 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00677/0.3449, allocations: 2.491 MB / 1.109 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006271/0.3512, allocations: 2.696 MB / 1.111 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01135/0.3626, allocations: 9.575 MB / 1.121 GB, free: 2.605 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01677/0.3794, allocations: 10.62 MB / 1.131 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007209/0.3866, allocations: 3.98 MB / 1.135 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006993/0.3936, allocations: 4.381 MB / 1.139 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002309/0.396, allocations: 0.7734 MB / 1.14 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004572/0.4006, allocations: 1.771 MB / 1.142 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004365/0.405, allocations: 3.033 MB / 1.145 GB, free: 9.871 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.005996/0.411, allocations: 3.583 MB / 1.148 GB, free: 6.273 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01218/0.4232, allocations: 11.78 MB / 1.16 GB, free: 10.46 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4232, allocations: 4 kB / 1.16 GB, free: 10.46 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4232, allocations: 3.938 kB / 1.16 GB, free: 10.45 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002867/0.4235, allocations: 0 / 1.16 GB, free: 10.45 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.01489/0.4384, allocations: 6.358 MB / 1.166 GB, free: 4.02 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4385, allocations: 12.62 kB / 1.166 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001298/0.4398, allocations: 0.7519 MB / 1.167 GB, free: 3.246 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008075/0.4479, allocations: 1.301 MB / 1.168 GB, free: 1.938 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007334/0.4552, allocations: 3.56 MB / 1.171 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003479/0.4556, allocations: 386.4 kB / 1.172 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001697/0.4573, allocations: 0.504 MB / 1.172 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01755/0.4749, allocations: 8.886 MB / 1.181 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001824/0.4751, allocations: 31.72 kB / 1.181 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00122/0.4763, allocations: 223.9 kB / 1.181 GB, free: 3.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002389/0.4787, allocations: 0.6304 MB / 1.182 GB, free: 3.297 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01243/0.4911, allocations: 7.01 MB / 1.189 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04975/0.5409, allocations: 40.32 MB / 1.228 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004549/0.5455, allocations: 2.898 MB / 1.231 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004179/0.5497, allocations: 2.659 MB / 1.233 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002935/0.55, allocations: 26.09 kB / 1.234 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.307e-05/0.5501, allocations: 68.59 kB / 1.234 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=265): time 4.509e-06/0.5501, allocations: 0 / 1.234 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of matching and sorting (n=424): time 0.752/1.302, allocations: 74.72 MB / 1.307 GB, free: 179.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/1.302, allocations: 97.08 kB / 1.307 GB, free: 179.7 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/1.305, allocations: 2.362 MB / 1.309 GB, free: 178.4 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0004705/1.305, allocations: 92.95 kB / 1.309 GB, free: 178.3 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009242/1.306, allocations: 2.337 MB / 1.311 GB, free: 176.3 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001095/1.307, allocations: 1.445 MB / 1.313 GB, free: 175 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001428/1.309, allocations: 0.7182 MB / 1.313 GB, free: 174.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 3.347e-05/1.309, allocations: 305.1 kB / 1.314 GB, free: 174.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003382/1.312, allocations: 2.997 MB / 1.317 GB, free: 172.2 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003668/1.316, allocations: 3.847 MB / 1.32 GB, free: 168 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007224/1.323, allocations: 7.384 MB / 1.328 GB, free: 160.3 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/1.323, allocations: 4 kB / 1.328 GB, free: 160.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02357/1.347, allocations: 12.56 MB / 1.34 GB, free: 147.6 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/1.347, allocations: 14.22 kB / 1.34 GB, free: 147.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/1.347, allocations: 24 kB / 1.34 GB, free: 147.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02043/1.367, allocations: 6.062 MB / 1.346 GB, free: 141.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/1.369, allocations: 495.2 kB / 1.346 GB, free: 141 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06373/1.433, allocations: 73.05 MB / 1.418 GB, free: 64.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003754/1.437, allocations: 216.5 kB / 1.418 GB, free: 64.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003547/1.437, allocations: 152 kB / 1.418 GB, free: 64.33 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.002583/1.44, allocations: 1.988 MB / 1.42 GB, free: 62.33 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006581/1.441, allocations: 391.4 kB / 1.42 GB, free: 61.94 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02294/1.464, allocations: 12.24 MB / 1.432 GB, free: 49.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/1.464, allocations: 43.94 kB / 1.432 GB, free: 49.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.236e-05/1.464, allocations: 55.94 kB / 1.432 GB, free: 49.49 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.419e-05/1.464, allocations: 19.92 kB / 1.432 GB, free: 49.47 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03062/1.494, allocations: 19.13 MB / 1.451 GB, free: 30.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/1.494, allocations: 8 kB / 1.451 GB, free: 30.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001368/1.496, allocations: 291.5 kB / 1.451 GB, free: 29.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01826/1.514, allocations: 5.617 MB / 1.457 GB, free: 24.17 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005297/1.515, allocations: 79.94 kB / 1.457 GB, free: 24.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07122/1.586, allocations: 70.66 MB / 1.526 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.586, allocations: 16 kB / 1.526 GB, free: 14.13 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02949/1.615, allocations: 15.61 MB / 1.541 GB, free: 14.29 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002557/1.618, allocations: 1.035 MB / 1.542 GB, free: 13.23 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/1.619, allocations: 87.92 kB / 1.542 GB, free: 13.14 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/1.622, allocations: 219.7 kB / 1.542 GB, free: 12.93 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001419/1.623, allocations: 414.2 kB / 1.543 GB, free: 12.52 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003721/1.624, allocations: 108 kB / 1.543 GB, free: 12.41 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002376/1.626, allocations: 1.553 MB / 1.544 GB, free: 10.86 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.626, allocations: 0 / 1.544 GB, free: 10.86 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00723/1.633, allocations: 1.863 MB / 1.546 GB, free: 9 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.03119/1.665, allocations: 16.28 MB / 1.562 GB, free: 8.484 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.02712/1.692, allocations: 14.99 MB / 1.577 GB, free: 9.211 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/1.692, allocations: 0 / 1.577 GB, free: 9.211 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.01497/1.707, allocations: 8.357 MB / 1.585 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006846/1.714, allocations: 1.199 MB / 1.586 GB, free: 15.39 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1053/1.819, allocations: 60.3 MB / 1.645 GB, free: 14.96 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00533/1.824, allocations: 4.082 MB / 1.649 GB, free: 10.84 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.002477/1.827, allocations: 0.6708 MB / 1.65 GB, free: 10.17 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002369/1.829, allocations: 2.132 MB / 1.652 GB, free: 8.035 MB / 1.201 GB Notification: Performance of SimCode: time 1.863e-06/1.829, allocations: 4 kB / 1.652 GB, free: 8.031 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.738/5.568, allocations: 151.5 MB / 1.8 GB, free: 408.8 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.43/21, allocations: 9.078 kB / 1.8 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