Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.007855/0.007855, allocations: 97.64 kB / 15.73 MB, free: 5.988 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.002152/0.002152, allocations: 192.3 kB / 16.67 MB, free: 5.918 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.841/2.841, allocations: 482.4 MB / 0.7548 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 68.11 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2953, allocations: 162.2 MB / 1.241 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.5559/0.8513, allocations: 22.6 MB / 1.264 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008979/0.8603, allocations: 6.224 MB / 1.27 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001441/0.8618, allocations: 96.16 kB / 1.27 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003304/0.8651, allocations: 1.54 MB / 1.271 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003668/0.8688, allocations: 1.625 MB / 1.273 GB, free: 15.12 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.8719, allocations: 1.338 MB / 1.274 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006576/0.8785, allocations: 5.937 MB / 1.28 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007213/0.8857, allocations: 6.047 MB / 1.286 GB, free: 9.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003931/0.8897, allocations: 2.42 MB / 1.288 GB, free: 8.312 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004485/0.8941, allocations: 2.865 MB / 1.291 GB, free: 7.105 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007075/0.8949, allocations: 457.1 kB / 1.291 GB, free: 7.105 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/0.8974, allocations: 1.097 MB / 1.292 GB, free: 6.859 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002314/0.8997, allocations: 2.028 MB / 1.294 GB, free: 6.09 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002699/0.9024, allocations: 2.175 MB / 1.297 GB, free: 4.695 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.009182/0.9116, allocations: 7.315 MB / 1.304 GB, free: 2.379 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.9116, allocations: 0 / 1.304 GB, free: 2.379 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9116, allocations: 0 / 1.304 GB, free: 2.379 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001717/0.9118, allocations: 1.031 kB / 1.304 GB, free: 2.379 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007798/0.9196, allocations: 3.91 MB / 1.308 GB, free: 44 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.9197, allocations: 13.38 kB / 1.308 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007275/0.9204, allocations: 0.4991 MB / 1.308 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006064/0.9265, allocations: 1.232 MB / 1.309 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003987/0.9305, allocations: 2.349 MB / 1.312 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.9307, allocations: 242 kB / 1.312 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000541/0.9312, allocations: 313 kB / 1.312 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009501/0.9407, allocations: 6.212 MB / 1.318 GB, free: 11.51 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.699e-05/0.9408, allocations: 17.77 kB / 1.318 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004018/0.9412, allocations: 141.2 kB / 1.318 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004424/0.9417, allocations: 408.5 kB / 1.319 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007179/0.9489, allocations: 4.657 MB / 1.323 GB, free: 9.27 MB / 1.029 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02981/0.9787, allocations: 29 MB / 1.352 GB, free: 14.62 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.9807, allocations: 1.415 MB / 1.353 GB, free: 13.87 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/0.9826, allocations: 1.482 MB / 1.354 GB, free: 13.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.9827, allocations: 19.41 kB / 1.354 GB, free: 13.13 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.9828, allocations: 47.31 kB / 1.354 GB, free: 13.08 MB / 1.061 GB Notification: Performance of pre-optimization done (n=110): time 2.985e-06/0.9828, allocations: 3.938 kB / 1.354 GB, free: 13.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=179): time 0.1476/1.13, allocations: 37.29 MB / 1.391 GB, free: 12.97 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/1.131, allocations: 77.34 kB / 1.391 GB, free: 12.88 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002277/1.133, allocations: 1.415 MB / 1.392 GB, free: 11.46 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000342/1.133, allocations: 57.7 kB / 1.392 GB, free: 11.39 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/1.134, allocations: 1.579 MB / 1.394 GB, free: 9.801 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008597/1.135, allocations: 0.6468 MB / 1.395 GB, free: 9.148 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009231/1.136, allocations: 383.5 kB / 1.395 GB, free: 8.766 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.136, allocations: 305.1 kB / 1.395 GB, free: 8.465 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/1.139, allocations: 1.784 MB / 1.397 GB, free: 6.676 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003285/1.142, allocations: 2.35 MB / 1.399 GB, free: 4.078 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006451/1.149, allocations: 4.387 MB / 1.404 GB, free: 15.45 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.486e-05/1.149, allocations: 11.94 kB / 1.404 GB, free: 15.44 MB / 1.107 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0194/1.168, allocations: 8.576 MB / 1.412 GB, free: 6.824 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/1.168, allocations: 20.25 kB / 1.412 GB, free: 6.805 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/1.169, allocations: 16 kB / 1.412 GB, free: 6.789 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01588/1.184, allocations: 4.635 MB / 1.416 GB, free: 2.141 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/1.186, allocations: 307.4 kB / 1.417 GB, free: 1.84 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05205/1.238, allocations: 32.61 MB / 1.449 GB, free: 384 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/1.24, allocations: 151.8 kB / 1.449 GB, free: 232 kB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000371/1.241, allocations: 95.86 kB / 1.449 GB, free: 136 kB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002661/1.243, allocations: 1.328 MB / 1.45 GB, free: 14.79 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005639/1.244, allocations: 206.7 kB / 1.45 GB, free: 14.59 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01919/1.263, allocations: 8.437 MB / 1.459 GB, free: 6.109 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/1.263, allocations: 16 kB / 1.459 GB, free: 6.094 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.797e-05/1.263, allocations: 31.94 kB / 1.459 GB, free: 6.062 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.132e-05/1.263, allocations: 7.969 kB / 1.459 GB, free: 6.055 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.028/1.291, allocations: 12.84 MB / 1.471 GB, free: 9.035 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/1.291, allocations: 8 kB / 1.471 GB, free: 9.027 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007944/1.292, allocations: 167.7 kB / 1.471 GB, free: 8.863 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01559/1.308, allocations: 4.48 MB / 1.476 GB, free: 4.367 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003625/1.308, allocations: 40 kB / 1.476 GB, free: 4.328 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05114/1.359, allocations: 32.23 MB / 1.507 GB, free: 3.242 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/1.359, allocations: 11.94 kB / 1.507 GB, free: 3.23 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01855/1.378, allocations: 8.253 MB / 1.515 GB, free: 10.85 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/1.379, allocations: 0.6207 MB / 1.516 GB, free: 10.21 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005684/1.38, allocations: 39.92 kB / 1.516 GB, free: 10.17 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/1.382, allocations: 135.8 kB / 1.516 GB, free: 10.04 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000859/1.383, allocations: 172.9 kB / 1.516 GB, free: 9.863 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001829/1.383, allocations: 52 kB / 1.516 GB, free: 9.812 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001625/1.384, allocations: 0.9548 MB / 1.517 GB, free: 8.863 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/1.384, allocations: 0 / 1.517 GB, free: 8.863 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003715/1.388, allocations: 1.117 MB / 1.518 GB, free: 7.746 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01826/1.406, allocations: 8.849 MB / 1.527 GB, free: 14.76 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01325/1.42, allocations: 6.574 MB / 1.533 GB, free: 8.113 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.42, allocations: 8 kB / 1.533 GB, free: 8.105 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00975/1.429, allocations: 4.362 MB / 1.538 GB, free: 3.664 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/1.432, allocations: 0.5306 MB / 1.538 GB, free: 3.148 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06539/1.498, allocations: 33.74 MB / 1.571 GB, free: 488 kB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003407/1.501, allocations: 2.727 MB / 1.574 GB, free: 13.71 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001063/1.502, allocations: 388.6 kB / 1.574 GB, free: 13.33 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/1.504, allocations: 1.218 MB / 1.575 GB, free: 12.11 MB / 1.279 GB Notification: Performance of SimCode: time 2.584e-06/1.504, allocations: 0 / 1.575 GB, free: 12.11 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1503/1.654, allocations: 83.88 MB / 1.657 GB, free: 8.742 MB / 1.357 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/14.39, allocations: 7.859 kB / 1.657 GB, free: 8.734 MB / 1.357 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches