Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.001053/0.001053, 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.001503/0.001503, allocations: 192.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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.373/2.373, allocations: 390.3 MB / 0.6647 GB, free: 288 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 67.89 kB / 0.8127 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.554/0.5552, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009074/0.5643, allocations: 10.02 MB / 0.9595 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004567/0.5689, allocations: 3.036 MB / 0.9625 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005621/0.5695, allocations: 42.19 kB / 0.9625 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001763/0.5713, allocations: 0.6769 MB / 0.9632 GB, free: 14.49 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.5726, allocations: 0.6979 MB / 0.9639 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.5739, allocations: 0.6306 MB / 0.9645 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002794/0.5767, allocations: 2.738 MB / 0.9672 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002741/0.5794, allocations: 2.56 MB / 0.9697 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001508/0.5809, allocations: 1.117 MB / 0.9707 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.5826, allocations: 1.375 MB / 0.9721 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003071/0.5829, allocations: 224.1 kB / 0.9723 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009195/0.5838, allocations: 491.1 kB / 0.9728 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0008708/0.5847, allocations: 0.9804 MB / 0.9737 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.5858, allocations: 1.015 MB / 0.9747 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002781/0.5885, allocations: 3.389 MB / 0.978 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.5886, allocations: 0 / 0.978 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5886, allocations: 0 / 0.978 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.069e-05/0.5886, allocations: 0 / 0.978 GB, free: 4.75 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.00304/0.5917, allocations: 1.947 MB / 0.9799 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.5917, allocations: 8.031 kB / 0.9799 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002937/0.592, allocations: 248.7 kB / 0.9802 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005726/0.5977, allocations: 0.8883 MB / 0.981 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/0.5994, allocations: 1.126 MB / 0.9821 GB, free: 432 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.502e-05/0.5995, allocations: 119.3 kB / 0.9823 GB, free: 312 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.5998, allocations: 144.3 kB / 0.9824 GB, free: 168 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004087/0.6039, allocations: 3.013 MB / 0.9853 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.376e-05/0.6039, allocations: 7.938 kB / 0.9853 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.6041, allocations: 59.97 kB / 0.9854 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001987/0.6043, allocations: 179 kB / 0.9856 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003648/0.608, allocations: 2.604 MB / 0.9881 GB, free: 10.2 MB / 0.7481 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.01481/0.6228, allocations: 13.56 MB / 1.001 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.6246, allocations: 1.295 MB / 1.003 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.626, allocations: 1.05 MB / 1.004 GB, free: 9.18 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 6.351e-05/0.626, allocations: 8.656 kB / 1.004 GB, free: 9.168 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.6261, allocations: 39.22 kB / 1.004 GB, free: 9.121 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=82): time 2.565e-06/0.6261, allocations: 4 kB / 1.004 GB, free: 9.117 MB / 0.7637 GB Notification: Performance of matching and sorting (n=139): time 0.07603/0.7021, allocations: 19.4 MB / 1.023 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.457e-05/0.7022, allocations: 64.72 kB / 1.023 GB, free: 5.504 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.7035, allocations: 0.9222 MB / 1.024 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001637/0.7036, allocations: 45.7 kB / 1.024 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000447/0.7041, allocations: 0.7283 MB / 1.024 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004185/0.7045, allocations: 489 kB / 1.025 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005716/0.7051, allocations: 287.5 kB / 1.025 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.7052, allocations: 353.9 kB / 1.025 GB, free: 2.652 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.707, allocations: 1.335 MB / 1.027 GB, free: 1.316 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001961/0.709, allocations: 1.666 MB / 1.028 GB, free: 15.54 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003844/0.7128, allocations: 3.092 MB / 1.031 GB, free: 12.33 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/0.7128, allocations: 0 / 1.031 GB, free: 12.33 MB / 0.795 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0115/0.7243, allocations: 5.638 MB / 1.037 GB, free: 6.664 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.7244, allocations: 11.94 kB / 1.037 GB, free: 6.652 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.7244, allocations: 8 kB / 1.037 GB, free: 6.645 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008883/0.7333, allocations: 2.736 MB / 1.04 GB, free: 3.898 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008722/0.7342, allocations: 195.7 kB / 1.04 GB, free: 3.707 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03531/0.7696, allocations: 25.72 MB / 1.065 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.7712, allocations: 96.45 kB / 1.065 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/0.7715, allocations: 56 kB / 1.065 GB, free: 9.27 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001227/0.7727, allocations: 0.7315 MB / 1.066 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002951/0.773, allocations: 118.6 kB / 1.066 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.7843, allocations: 5.392 MB / 1.071 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.7843, allocations: 19.98 kB / 1.071 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.478e-05/0.7844, allocations: 20 kB / 1.071 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.654e-05/0.7844, allocations: 7.969 kB / 1.071 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01576/0.8002, allocations: 8.648 MB / 1.08 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/0.8002, allocations: 4 kB / 1.08 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004617/0.8007, allocations: 115.9 kB / 1.08 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008646/0.8093, allocations: 2.568 MB / 1.082 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000187/0.8095, allocations: 24 kB / 1.082 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03188/0.8414, allocations: 23.01 MB / 1.105 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.8415, allocations: 7.938 kB / 1.105 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01056/0.852, allocations: 5.13 MB / 1.11 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008214/0.8529, allocations: 479.6 kB / 1.11 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002452/0.8531, allocations: 31.98 kB / 1.11 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009705/0.8541, allocations: 75.91 kB / 1.11 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004595/0.8546, allocations: 124.9 kB / 1.11 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.8547, allocations: 40 kB / 1.11 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007697/0.8554, allocations: 0.6434 MB / 1.111 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8555, allocations: 0 / 1.111 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002114/0.8576, allocations: 0.7227 MB / 1.112 GB, free: 8.523 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01101/0.8686, allocations: 5.704 MB / 1.117 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.007824/0.8764, allocations: 4.735 MB / 1.122 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8765, allocations: 0 / 1.122 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.005142/0.8816, allocations: 2.654 MB / 1.125 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.8831, allocations: 223.7 kB / 1.125 GB, free: 11.03 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03703/0.9202, allocations: 21.83 MB / 1.146 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/0.9218, allocations: 1.704 MB / 1.148 GB, free: 2.852 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007837/0.9226, allocations: 333.4 kB / 1.148 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000667/0.9233, allocations: 0.5344 MB / 1.149 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of SimCode: time 5.01e-07/0.9233, allocations: 0 / 1.149 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08394/1.007, allocations: 51.38 MB / 1.199 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.689/10.7, allocations: 3.094 kB / 1.199 GB, free: 14.95 MB / 0.9669 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches