Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_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.007541/0.007547, allocations: 101.7 kB / 15.73 MB, free: 5.992 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.001895/0.001895, allocations: 199 kB / 16.68 MB, free: 5.914 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.708/2.708, allocations: 437 MB / 0.7105 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.00144, allocations: 71.88 kB / 1.018 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3272, allocations: 151.6 MB / 1.166 GB, free: 7.383 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007732/0.335, allocations: 5.525 MB / 1.172 GB, free: 1.824 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004801/0.3398, allocations: 2.658 MB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006018/0.3405, allocations: 23.81 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.3426, allocations: 0.6843 MB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001365/0.344, allocations: 425.7 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.3453, allocations: 415 kB / 1.176 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001501/0.3468, allocations: 0.9475 MB / 1.177 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007744/0.3476, allocations: 473.8 kB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007198/0.3483, allocations: 374.6 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007956/0.3491, allocations: 410.3 kB / 1.178 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.3493, allocations: 48 kB / 1.178 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009954/0.3503, allocations: 359.3 kB / 1.178 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000397/0.3507, allocations: 247.3 kB / 1.178 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000616/0.3513, allocations: 350.2 kB / 1.179 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/0.3529, allocations: 0.9776 MB / 1.18 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3529, allocations: 0 / 1.18 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3529, allocations: 4 kB / 1.18 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.76e-05/0.353, allocations: 0 / 1.18 GB, free: 9.469 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002085/0.3551, allocations: 0.9755 MB / 1.181 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.3551, allocations: 16.67 kB / 1.181 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001553/0.3553, allocations: 102.7 kB / 1.181 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.3568, allocations: 191.9 kB / 1.181 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.3578, allocations: 0.5296 MB / 1.181 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.3579, allocations: 41.34 kB / 1.181 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.3581, allocations: 52.56 kB / 1.182 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.3593, allocations: 0.8278 MB / 1.182 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.3594, allocations: 3.938 kB / 1.182 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.674e-05/0.3594, allocations: 27.98 kB / 1.182 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001874/0.3596, allocations: 64.95 kB / 1.182 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009314/0.3606, allocations: 0.5697 MB / 1.183 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/0.3651, allocations: 4.573 MB / 1.187 GB, free: 0.9727 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.3656, allocations: 291.3 kB / 1.188 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.3659, allocations: 229.3 kB / 1.188 GB, free: 464 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.3659, allocations: 4.281 kB / 1.188 GB, free: 460 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.366, allocations: 34.84 kB / 1.188 GB, free: 416 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.843e-06/0.366, allocations: 7.938 kB / 1.188 GB, free: 408 kB / 0.9356 GB Notification: Performance of matching and sorting (n=40): time 0.00565/0.3716, allocations: 2.634 MB / 1.191 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.3717, allocations: 55.41 kB / 1.191 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005419/0.3722, allocations: 466 kB / 1.191 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/0.3723, allocations: 33.7 kB / 1.191 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.3725, allocations: 347.6 kB / 1.191 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.3726, allocations: 142 kB / 1.192 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.3728, allocations: 106.2 kB / 1.192 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.373, allocations: 358.8 kB / 1.192 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.3733, allocations: 241 kB / 1.192 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/0.3738, allocations: 406.4 kB / 1.193 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008575/0.3747, allocations: 0.67 MB / 1.193 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3747, allocations: 4 kB / 1.193 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001701/0.3764, allocations: 0.9286 MB / 1.194 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.3764, allocations: 8 kB / 1.194 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.3764, allocations: 4 kB / 1.194 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000851/0.3773, allocations: 230.9 kB / 1.194 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.3778, allocations: 115.8 kB / 1.195 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005076/0.3829, allocations: 5.347 MB / 1.2 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.3834, allocations: 28.11 kB / 1.2 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.3835, allocations: 24 kB / 1.2 GB, free: 3.531 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(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.0003111/0.3838, allocations: 221.7 kB / 1.2 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.3839, allocations: 67.27 kB / 1.2 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/0.3854, allocations: 0.7734 MB / 1.201 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.3855, allocations: 7.938 kB / 1.201 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3855, allocations: 4 kB / 1.201 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3855, allocations: 3.984 kB / 1.201 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002462/0.3879, allocations: 1.499 MB / 1.202 GB, free: 0.8398 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.388, allocations: 4 kB / 1.202 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.3884, allocations: 71.88 kB / 1.202 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007373/0.3891, allocations: 206.5 kB / 1.203 GB, free: 0.5547 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.3891, allocations: 8 kB / 1.203 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004757/0.3939, allocations: 5.267 MB / 1.208 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.3939, allocations: 3.938 kB / 1.208 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.3957, allocations: 1.131 MB / 1.209 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.396, allocations: 168.3 kB / 1.209 GB, free: 9.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.984e-05/0.3961, allocations: 8 kB / 1.209 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.3965, allocations: 27.97 kB / 1.209 GB, free: 9.461 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.3966, allocations: 35.89 kB / 1.209 GB, free: 9.426 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.391e-05/0.3966, allocations: 16 kB / 1.209 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000385/0.397, allocations: 318.9 kB / 1.209 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.21e-07/0.397, allocations: 0 / 1.209 GB, free: 9.102 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006936/0.3977, allocations: 168 kB / 1.21 GB, free: 8.938 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,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.002125/0.3999, allocations: 1.702 MB / 1.211 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.4017, allocations: 1.016 MB / 1.212 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.4017, allocations: 0 / 1.212 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.4027, allocations: 0.6721 MB / 1.213 GB, free: 5.41 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000951/0.4037, allocations: 192.4 kB / 1.213 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008452/0.4122, allocations: 5.628 MB / 1.219 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006869/0.4129, allocations: 0.9454 MB / 1.219 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003858/0.4133, allocations: 117 kB / 1.22 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.4136, allocations: 211.4 kB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of SimCode: time 7.51e-07/0.4136, allocations: 3.938 kB / 1.22 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04069/0.4543, allocations: 14.21 MB / 1.234 GB, free: 112 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.38/10.84, allocations: 8 kB / 1.234 GB, free: 104 kB / 0.9825 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches