Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_RL,fileNamePrefix="Buildings_11_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_11_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.002225/0.002225, allocations: 108 kB / 15.61 MB, free: 152 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.003325/0.003325, allocations: 198.4 kB / 16.53 MB, free: 6.664 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.392/1.392, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.622/2.622, allocations: 469.8 MB / 0.7424 GB, free: 7.516 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 64.55 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2571, allocations: 159.2 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0247/0.2819, allocations: 22.58 MB / 1.086 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009408/0.2913, allocations: 6.236 MB / 1.092 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.2924, allocations: 91.56 kB / 1.092 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00341/0.2959, allocations: 1.554 MB / 1.094 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002999/0.2989, allocations: 1.625 MB / 1.095 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002618/0.3015, allocations: 1.338 MB / 1.097 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005759/0.3073, allocations: 5.939 MB / 1.103 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006269/0.3135, allocations: 6.099 MB / 1.108 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002541/0.3161, allocations: 2.399 MB / 1.111 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003035/0.3191, allocations: 2.878 MB / 1.114 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005595/0.3197, allocations: 456 kB / 1.114 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.3215, allocations: 1.092 MB / 1.115 GB, free: 9.75 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001746/0.3232, allocations: 2.031 MB / 1.117 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001937/0.3252, allocations: 2.167 MB / 1.119 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005747/0.3309, allocations: 7.245 MB / 1.126 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.3309, allocations: 0 / 1.126 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3309, allocations: 0 / 1.126 GB, free: 14.27 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.123e-05/0.331, allocations: 0 / 1.126 GB, free: 14.27 MB / 0.8887 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.005437/0.3364, allocations: 3.824 MB / 1.13 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3365, allocations: 8.031 kB / 1.13 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000593/0.3371, allocations: 0.5015 MB / 1.131 GB, free: 9.867 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005375/0.3424, allocations: 1.213 MB / 1.132 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003157/0.3456, allocations: 2.207 MB / 1.134 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.3458, allocations: 242.4 kB / 1.134 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004605/0.3463, allocations: 327.8 kB / 1.134 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008201/0.3545, allocations: 6.205 MB / 1.14 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.343e-05/0.3546, allocations: 11.88 kB / 1.141 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003297/0.3549, allocations: 140 kB / 1.141 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000466/0.3554, allocations: 402.3 kB / 1.141 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007003/0.3624, allocations: 4.666 MB / 1.146 GB, free: 10.14 MB / 0.9044 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.02761/0.39, allocations: 29.14 MB / 1.174 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.3919, allocations: 1.429 MB / 1.175 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/0.3937, allocations: 1.483 MB / 1.177 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.858e-05/0.3938, allocations: 16.98 kB / 1.177 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.3938, allocations: 43.5 kB / 1.177 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 2.645e-06/0.3938, allocations: 0 / 1.177 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.1352/0.5291, allocations: 37.24 MB / 1.213 GB, free: 1.996 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.5291, allocations: 73.34 kB / 1.213 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.531, allocations: 1.423 MB / 1.215 GB, free: 496 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/0.5311, allocations: 53.7 kB / 1.215 GB, free: 436 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001031/0.5322, allocations: 1.539 MB / 1.216 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000552/0.5327, allocations: 0.6123 MB / 1.217 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007002/0.5334, allocations: 387.3 kB / 1.217 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5336, allocations: 305.1 kB / 1.218 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002465/0.536, allocations: 1.784 MB / 1.219 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002865/0.5389, allocations: 2.35 MB / 1.222 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005529/0.5444, allocations: 4.383 MB / 1.226 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.5445, allocations: 4 kB / 1.226 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01672/0.5612, allocations: 8.571 MB / 1.234 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.5612, allocations: 15.98 kB / 1.234 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.5612, allocations: 16 kB / 1.234 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01356/0.5748, allocations: 4.675 MB / 1.239 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000973/0.5758, allocations: 299.5 kB / 1.239 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4499/1.026, allocations: 32.6 MB / 1.271 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/1.028, allocations: 150.3 kB / 1.271 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/1.028, allocations: 89.78 kB / 1.271 GB, free: 157.8 MB / 0.9981 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.001697/1.029, allocations: 1.328 MB / 1.273 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002774/1.03, allocations: 200.7 kB / 1.273 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01473/1.044, allocations: 8.44 MB / 1.281 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/1.044, allocations: 21.53 kB / 1.281 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.401e-05/1.045, allocations: 24.31 kB / 1.281 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.045, allocations: 8.797 kB / 1.281 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01868/1.063, allocations: 12.85 MB / 1.294 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/1.063, allocations: 7.25 kB / 1.294 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/1.064, allocations: 160 kB / 1.294 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01109/1.075, allocations: 4.528 MB / 1.298 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001217/1.075, allocations: 39.5 kB / 1.298 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03213/1.107, allocations: 32.21 MB / 1.33 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.107, allocations: 10.69 kB / 1.33 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/1.12, allocations: 8.247 MB / 1.338 GB, free: 112.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007884/1.12, allocations: 0.6252 MB / 1.338 GB, free: 112.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000269/1.121, allocations: 36 kB / 1.338 GB, free: 112.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/1.122, allocations: 135.8 kB / 1.338 GB, free: 112 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004788/1.122, allocations: 165 kB / 1.339 GB, free: 111.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/1.123, allocations: 52 kB / 1.339 GB, free: 111.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008428/1.123, allocations: 0.9588 MB / 1.34 GB, free: 110.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.123, allocations: 0 / 1.34 GB, free: 110.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002295/1.126, allocations: 1.113 MB / 1.341 GB, free: 109.8 MB / 0.9981 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.0125/1.138, allocations: 8.84 MB / 1.349 GB, free: 100.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01008/1.148, allocations: 7.067 MB / 1.356 GB, free: 93.66 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.148, allocations: 0 / 1.356 GB, free: 93.66 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00689/1.155, allocations: 4.364 MB / 1.36 GB, free: 89.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/1.157, allocations: 0.5201 MB / 1.361 GB, free: 88.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0411/1.198, allocations: 35.22 MB / 1.395 GB, free: 51.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001823/1.2, allocations: 2.724 MB / 1.398 GB, free: 49.07 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008052/1.201, allocations: 386.1 kB / 1.398 GB, free: 48.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008634/1.202, allocations: 1.222 MB / 1.4 GB, free: 47.47 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.202, allocations: 0 / 1.4 GB, free: 47.47 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.85/5.052, allocations: 82.83 MB / 1.48 GB, free: 13.15 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/19.95, allocations: 6.453 kB / 1.48 GB, free: 13.15 MB / 1.045 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches