Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ACLine_RL_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.00116/0.00116, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001071/0.001071, allocations: 191.6 kB / 16.25 MB, free: 6.621 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.258/1.258, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.391/2.391, allocations: 437 MB / 0.7101 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.89 kB / 0.8689 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6135/0.6149, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0221/0.6371, allocations: 20.12 MB / 1.037 GB, free: 14.52 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.6474, allocations: 6.389 MB / 1.043 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.6493, allocations: 75.62 kB / 1.043 GB, free: 8.047 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.005312/0.6547, allocations: 2.1 MB / 1.045 GB, free: 5.945 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.00319/0.6579, allocations: 1.085 MB / 1.046 GB, free: 4.855 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.6609, allocations: 1.17 MB / 1.047 GB, free: 3.688 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005445/0.6663, allocations: 4.869 MB / 1.052 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009427/0.6758, allocations: 6.763 MB / 1.058 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003188/0.679, allocations: 2.114 MB / 1.061 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003702/0.6827, allocations: 2.457 MB / 1.063 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001085/0.6838, allocations: 428 kB / 1.063 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002467/0.6863, allocations: 1.006 MB / 1.064 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002129/0.6884, allocations: 1.661 MB / 1.066 GB, free: 300 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002152/0.6906, allocations: 1.918 MB / 1.068 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.005246/0.6958, allocations: 6.516 MB / 1.074 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.6958, allocations: 4 kB / 1.074 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6959, allocations: 4 kB / 1.074 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.834e-05/0.6959, allocations: 4 kB / 1.074 GB, free: 7.82 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.005259/0.7012, allocations: 3.463 MB / 1.078 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.7012, allocations: 8.031 kB / 1.078 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005023/0.7017, allocations: 454.6 kB / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003154/0.7049, allocations: 0.6333 MB / 1.079 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003125/0.708, allocations: 1.939 MB / 1.081 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001622/0.7082, allocations: 222.3 kB / 1.081 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004339/0.7087, allocations: 300 kB / 1.081 GB, free: 0.6797 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006976/0.7156, allocations: 4.882 MB / 1.086 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.767e-05/0.7157, allocations: 19.88 kB / 1.086 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002783/0.716, allocations: 120 kB / 1.086 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003834/0.7164, allocations: 233.7 kB / 1.086 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005104/0.7215, allocations: 3.75 MB / 1.09 GB, free: 7.473 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01925/0.7408, allocations: 21.57 MB / 1.111 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.7424, allocations: 1.314 MB / 1.112 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.7436, allocations: 1.045 MB / 1.113 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.436e-05/0.7437, allocations: 9 kB / 1.113 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.7438, allocations: 51.5 kB / 1.113 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=107): time 2.865e-06/0.7438, allocations: 0 / 1.113 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=138): time 0.02212/0.7659, allocations: 8.649 MB / 1.122 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.766, allocations: 64.72 kB / 1.122 GB, free: 4.684 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.7673, allocations: 1.13 MB / 1.123 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.771e-05/0.7674, allocations: 45.7 kB / 1.123 GB, free: 3.496 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007232/0.7681, allocations: 1.3 MB / 1.124 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003568/0.7685, allocations: 485 kB / 1.125 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00042/0.7689, allocations: 287.3 kB / 1.125 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.769, allocations: 313.1 kB / 1.125 GB, free: 1.105 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.7702, allocations: 0.9174 MB / 1.126 GB, free: 192 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.7715, allocations: 1.326 MB / 1.127 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/0.7742, allocations: 2.426 MB / 1.13 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.7743, allocations: 4 kB / 1.13 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005477/0.7797, allocations: 3.467 MB / 1.133 GB, free: 8.602 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.7798, allocations: 8 kB / 1.133 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.7798, allocations: 12 kB / 1.133 GB, free: 8.582 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002994/0.7828, allocations: 1.204 MB / 1.134 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008631/0.7837, allocations: 255.5 kB / 1.135 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/0.7996, allocations: 13.84 MB / 1.148 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.8009, allocations: 91.97 kB / 1.148 GB, free: 8.777 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.801, allocations: 68 kB / 1.148 GB, free: 8.711 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001637/0.8026, allocations: 1.11 MB / 1.149 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003224/0.803, allocations: 166 kB / 1.15 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005399/0.8084, allocations: 3.169 MB / 1.153 GB, free: 4.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.8084, allocations: 12 kB / 1.153 GB, free: 4.219 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-05/0.8084, allocations: 15.94 kB / 1.153 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.8084, allocations: 7.969 kB / 1.153 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009196/0.8177, allocations: 6.249 MB / 1.159 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.8177, allocations: 4 kB / 1.159 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/0.8182, allocations: 143.8 kB / 1.159 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002723/0.821, allocations: 1.076 MB / 1.16 GB, free: 12.58 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.865e-05/0.8211, allocations: 32 kB / 1.16 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01515/0.8362, allocations: 13.55 MB / 1.173 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.8363, allocations: 4 kB / 1.173 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004905/0.8412, allocations: 3.15 MB / 1.176 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007219/0.8419, allocations: 427 kB / 1.177 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001898/0.8421, allocations: 31.91 kB / 1.177 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007277/0.8428, allocations: 83.89 kB / 1.177 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000324/0.8432, allocations: 124.7 kB / 1.177 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.241e-05/0.8433, allocations: 43.92 kB / 1.177 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009266/0.8442, allocations: 0.7632 MB / 1.178 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8442, allocations: 0 / 1.178 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001741/0.846, allocations: 0.6602 MB / 1.178 GB, free: 9.203 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005034/0.851, allocations: 3.741 MB / 1.182 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00552/0.8565, allocations: 3.646 MB / 1.186 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.8566, allocations: 0 / 1.186 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002826/0.8594, allocations: 1.94 MB / 1.187 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.8617, allocations: 0.4972 MB / 1.188 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03012/0.8918, allocations: 21.37 MB / 1.209 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002112/0.8939, allocations: 2.344 MB / 1.211 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001102/0.8951, allocations: 350.1 kB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001025/0.8961, allocations: 1.011 MB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of SimCode: time 7.21e-07/0.8961, allocations: 0 / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5549/1.451, allocations: 51.51 MB / 1.263 GB, free: 219.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/1.451, allocations: 249.3 kB / 1.263 GB, free: 219.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.493/3.944, allocations: 0 / 1.263 GB, free: 219.2 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches