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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.004792/0.004792, allocations: 99.75 kB / 15.73 MB, free: 6.039 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.001092/0.001092, allocations: 192.1 kB / 16.67 MB, free: 5.949 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.445/2.445, allocations: 469.4 MB / 0.7422 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00185/0.001851, allocations: 67.91 kB / 1.064 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/0.7268, allocations: 159.1 MB / 1.22 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02331/0.7501, allocations: 22.6 MB / 1.242 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009959/0.7601, allocations: 6.229 MB / 1.248 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/0.7619, allocations: 95.5 kB / 1.248 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003818/0.7658, allocations: 1.545 MB / 1.25 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.7696, allocations: 1.723 MB / 1.251 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.7728, allocations: 1.355 MB / 1.253 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006015/0.7788, allocations: 5.951 MB / 1.258 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006934/0.7858, allocations: 6.041 MB / 1.264 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003357/0.7891, allocations: 2.454 MB / 1.267 GB, free: 2.098 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003891/0.793, allocations: 2.859 MB / 1.269 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.7941, allocations: 456 kB / 1.27 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/0.7967, allocations: 1.096 MB / 1.271 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002777/0.7995, allocations: 2.035 MB / 1.273 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004326/0.8038, allocations: 2.167 MB / 1.275 GB, free: 9.473 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008179/0.812, allocations: 7.32 MB / 1.282 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.812, allocations: 0 / 1.282 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.812, allocations: 0 / 1.282 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002016/0.8123, allocations: 0 / 1.282 GB, free: 2.133 MB / 0.9981 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.008075/0.8203, allocations: 3.924 MB / 1.286 GB, free: 14.14 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.8204, allocations: 8.625 kB / 1.286 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007459/0.8211, allocations: 0.4976 MB / 1.286 GB, free: 13.62 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005878/0.827, allocations: 1.235 MB / 1.288 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00472/0.8318, allocations: 2.349 MB / 1.29 GB, free: 9.98 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.832, allocations: 238.4 kB / 1.29 GB, free: 9.746 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007463/0.8327, allocations: 311.9 kB / 1.291 GB, free: 9.441 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009242/0.842, allocations: 6.216 MB / 1.297 GB, free: 2.969 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.187e-05/0.8421, allocations: 15.88 kB / 1.297 GB, free: 2.953 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003533/0.8424, allocations: 143.9 kB / 1.297 GB, free: 2.812 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000422/0.8429, allocations: 402.3 kB / 1.297 GB, free: 2.418 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007267/0.8501, allocations: 4.658 MB / 1.302 GB, free: 13.75 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.02766/0.8778, allocations: 28.99 MB / 1.33 GB, free: 14.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.8796, allocations: 1.412 MB / 1.331 GB, free: 12.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.8813, allocations: 1.501 MB / 1.333 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.931e-05/0.8814, allocations: 16.94 kB / 1.333 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.8815, allocations: 47.5 kB / 1.333 GB, free: 11.05 MB / 1.061 GB Notification: Performance of pre-optimization done (n=110): time 4.118e-06/0.8815, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.061 GB Notification: Performance of matching and sorting (n=179): time 0.1378/1.019, allocations: 37.3 MB / 1.369 GB, free: 5.68 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/1.019, allocations: 73.34 kB / 1.369 GB, free: 5.594 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/1.021, allocations: 1.412 MB / 1.371 GB, free: 4.176 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002595/1.022, allocations: 57.7 kB / 1.371 GB, free: 4.113 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009286/1.023, allocations: 1.583 MB / 1.372 GB, free: 2.516 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005998/1.023, allocations: 0.639 MB / 1.373 GB, free: 1.871 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007326/1.024, allocations: 383.5 kB / 1.373 GB, free: 1.488 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 8.13e-05/1.024, allocations: 305.1 kB / 1.374 GB, free: 1.188 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/1.026, allocations: 1.788 MB / 1.375 GB, free: 15.39 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002773/1.029, allocations: 2.346 MB / 1.378 GB, free: 12.8 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005343/1.035, allocations: 4.391 MB / 1.382 GB, free: 8.172 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/1.035, allocations: 8 kB / 1.382 GB, free: 8.164 MB / 1.107 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01728/1.052, allocations: 8.58 MB / 1.39 GB, free: 15.55 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.357e-05/1.052, allocations: 16 kB / 1.39 GB, free: 15.53 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/1.052, allocations: 16 kB / 1.39 GB, free: 15.52 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01404/1.066, allocations: 4.636 MB / 1.395 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/1.067, allocations: 307.4 kB / 1.395 GB, free: 10.56 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04366/1.111, allocations: 32.61 MB / 1.427 GB, free: 9.094 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/1.113, allocations: 156 kB / 1.427 GB, free: 8.941 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003972/1.114, allocations: 84 kB / 1.427 GB, free: 8.859 MB / 1.154 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.002368/1.116, allocations: 1.332 MB / 1.429 GB, free: 7.516 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004844/1.116, allocations: 210.7 kB / 1.429 GB, free: 7.309 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01663/1.133, allocations: 8.433 MB / 1.437 GB, free: 14.83 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/1.133, allocations: 19.94 kB / 1.437 GB, free: 14.81 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.518e-05/1.133, allocations: 27.94 kB / 1.437 GB, free: 14.78 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.181e-05/1.133, allocations: 11.97 kB / 1.437 GB, free: 14.77 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02405/1.157, allocations: 12.84 MB / 1.45 GB, free: 1.754 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/1.157, allocations: 8 kB / 1.45 GB, free: 1.746 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006826/1.158, allocations: 167.7 kB / 1.45 GB, free: 1.582 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01351/1.172, allocations: 4.49 MB / 1.454 GB, free: 13.08 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002339/1.172, allocations: 32 kB / 1.454 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0434/1.215, allocations: 32.23 MB / 1.486 GB, free: 11.95 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/1.215, allocations: 11.94 kB / 1.486 GB, free: 11.94 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/1.232, allocations: 8.242 MB / 1.494 GB, free: 3.578 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002146/1.234, allocations: 0.6284 MB / 1.494 GB, free: 2.93 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006753/1.235, allocations: 36 kB / 1.494 GB, free: 2.895 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001896/1.236, allocations: 140.2 kB / 1.495 GB, free: 2.758 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009489/1.237, allocations: 164.9 kB / 1.495 GB, free: 2.594 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002056/1.238, allocations: 56 kB / 1.495 GB, free: 2.539 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001982/1.24, allocations: 0.9626 MB / 1.496 GB, free: 1.582 MB / 1.217 GB Notification: Performance of sort global known variables: time 4.71e-07/1.24, allocations: 0 / 1.496 GB, free: 1.582 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.003916/1.244, allocations: 1.117 MB / 1.497 GB, free: 476 kB / 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.01656/1.26, allocations: 8.849 MB / 1.505 GB, free: 7.473 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01227/1.272, allocations: 6.546 MB / 1.512 GB, free: 0.8477 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.842e-06/1.272, allocations: 0 / 1.512 GB, free: 0.8477 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.009184/1.282, allocations: 4.378 MB / 1.516 GB, free: 12.39 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/1.285, allocations: 0.5193 MB / 1.517 GB, free: 11.88 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0593/1.344, allocations: 33.74 MB / 1.55 GB, free: 9.219 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003622/1.348, allocations: 2.727 MB / 1.552 GB, free: 6.457 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.00107/1.349, allocations: 384.6 kB / 1.553 GB, free: 6.078 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/1.35, allocations: 1.214 MB / 1.554 GB, free: 4.863 MB / 1.279 GB Notification: Performance of SimCode: time 6.21e-07/1.35, allocations: 0 / 1.554 GB, free: 4.863 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6467/1.997, allocations: 83.9 MB / 1.636 GB, free: 269.3 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/14.32, allocations: 6.672 kB / 1.636 GB, free: 269.3 MB / 1.279 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 50 --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