Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_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.001466/0.001466, 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.002119/0.002119, allocations: 192.5 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.365/1.365, 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 11.1.0-maint.11.x/package.mo): time 2.524/2.524, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 72.48 kB / 0.9087 GB, free: 34.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2412, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02967/0.2709, allocations: 26.67 MB / 1.09 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.2832, allocations: 8.063 MB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.2848, allocations: 119.4 kB / 1.098 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.006197/0.2911, allocations: 2.756 MB / 1.101 GB, free: 8.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003267/0.2943, allocations: 1.582 MB / 1.102 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.2976, allocations: 1.684 MB / 1.104 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005875/0.3035, allocations: 6.138 MB / 1.11 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007677/0.3112, allocations: 7.41 MB / 1.117 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003062/0.3143, allocations: 2.563 MB / 1.12 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002979/0.3173, allocations: 2.827 MB / 1.123 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006295/0.3179, allocations: 0.5117 MB / 1.123 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002092/0.32, allocations: 1.283 MB / 1.124 GB, free: 324 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001739/0.3218, allocations: 2.051 MB / 1.126 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00231/0.3241, allocations: 2.385 MB / 1.129 GB, free: 11.87 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00661/0.3307, allocations: 8.005 MB / 1.136 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3307, allocations: 0 / 1.136 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3307, allocations: 0 / 1.136 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.331e-05/0.3308, allocations: 0 / 1.136 GB, free: 3.84 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.006563/0.3374, allocations: 4.232 MB / 1.141 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3374, allocations: 8.031 kB / 1.141 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006452/0.3381, allocations: 0.5421 MB / 1.141 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003826/0.3419, allocations: 0.804 MB / 1.142 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003679/0.3456, allocations: 2.424 MB / 1.144 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.3458, allocations: 271.7 kB / 1.144 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006478/0.3465, allocations: 376.4 kB / 1.145 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008393/0.3549, allocations: 5.996 MB / 1.151 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.782e-05/0.355, allocations: 19.78 kB / 1.151 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003412/0.3553, allocations: 152 kB / 1.151 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005484/0.3559, allocations: 286.9 kB / 1.151 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006601/0.3625, allocations: 4.524 MB / 1.156 GB, free: 15.83 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02523/0.3877, allocations: 27.65 MB / 1.183 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.3893, allocations: 1.121 MB / 1.184 GB, free: 0.543 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.3906, allocations: 1.019 MB / 1.185 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-05/0.3907, allocations: 13 kB / 1.185 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.3907, allocations: 51.55 kB / 1.185 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=110): time 2.565e-06/0.3907, allocations: 4 kB / 1.185 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of matching and sorting (n=131): time 0.0204/0.4111, allocations: 9.67 MB / 1.194 GB, free: 5.562 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.4112, allocations: 64.72 kB / 1.194 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.413, allocations: 1.498 MB / 1.196 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.781e-05/0.4131, allocations: 45.7 kB / 1.196 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001107/0.4142, allocations: 1.674 MB / 1.197 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003701/0.4145, allocations: 469.4 kB / 1.198 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004747/0.415, allocations: 331.1 kB / 1.198 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.4152, allocations: 305.1 kB / 1.198 GB, free: 1.148 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.4164, allocations: 0.9135 MB / 1.199 GB, free: 240 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001685/0.4181, allocations: 1.467 MB / 1.201 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003124/0.4213, allocations: 2.55 MB / 1.203 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.4213, allocations: 4 kB / 1.203 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005388/0.4267, allocations: 3.281 MB / 1.206 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4267, allocations: 16.94 kB / 1.206 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.4267, allocations: 16 kB / 1.206 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/0.4289, allocations: 0.7412 MB / 1.207 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.4303, allocations: 383.4 kB / 1.208 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/0.4463, allocations: 17.06 MB / 1.224 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.4477, allocations: 103.9 kB / 1.224 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.4479, allocations: 72 kB / 1.224 GB, free: 4.734 MB / 0.9825 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00185/0.4497, allocations: 1.31 MB / 1.226 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.45, allocations: 205.6 kB / 1.226 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/0.4547, allocations: 2.784 MB / 1.229 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.4547, allocations: 12 kB / 1.229 GB, free: 384 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.4547, allocations: 8 kB / 1.229 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.4548, allocations: 7.969 kB / 1.229 GB, free: 368 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00912/0.4639, allocations: 6.225 MB / 1.235 GB, free: 9.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.4639, allocations: 4 kB / 1.235 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.465, allocations: 235.6 kB / 1.235 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/0.4669, allocations: 0.6674 MB / 1.236 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.39e-05/0.467, allocations: 32 kB / 1.236 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.38/0.847, allocations: 16.78 MB / 1.252 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.847, allocations: 10.94 kB / 1.252 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005012/0.8521, allocations: 4.005 MB / 1.256 GB, free: 159.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/0.8527, allocations: 450.8 kB / 1.256 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002076/0.8529, allocations: 36.34 kB / 1.256 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007928/0.8537, allocations: 83.31 kB / 1.256 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.8539, allocations: 122.4 kB / 1.257 GB, free: 159 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.855e-05/0.854, allocations: 37.47 kB / 1.257 GB, free: 159 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009702/0.855, allocations: 0.9948 MB / 1.258 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.855, allocations: 0 / 1.258 GB, free: 158.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001654/0.8566, allocations: 0.689 MB / 1.258 GB, free: 158.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004803/0.8615, allocations: 4.606 MB / 1.263 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005363/0.8668, allocations: 4.096 MB / 1.267 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.8668, allocations: 4.5 kB / 1.267 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002619/0.8695, allocations: 2.288 MB / 1.269 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/0.8721, allocations: 0.6787 MB / 1.27 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/0.8979, allocations: 22.73 MB / 1.292 GB, free: 141.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002147/0.9, allocations: 2.662 MB / 1.294 GB, free: 140.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001402/0.9015, allocations: 478.5 kB / 1.295 GB, free: 140.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009712/0.9024, allocations: 1.292 MB / 1.296 GB, free: 139.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.71e-07/0.9024, allocations: 0 / 1.296 GB, free: 139.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7609/1.663, allocations: 56.27 MB / 1.351 GB, free: 94.07 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/13.84, allocations: 21.58 kB / 1.351 GB, free: 94.05 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches