Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_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_9_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.007502/0.007502, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001596/0.001596, allocations: 191.5 kB / 16.67 MB, free: 5.523 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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.238/2.238, allocations: 390.3 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 59.91 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7972/0.7986, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.005604/0.8043, allocations: 5.533 MB / 1.093 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003139/0.8074, allocations: 2.647 MB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.8076, allocations: 25.66 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.8093, allocations: 0.6791 MB / 1.096 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0006731/0.8099, allocations: 405.4 kB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007595/0.8107, allocations: 410.2 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009175/0.8116, allocations: 0.9583 MB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005704/0.8122, allocations: 474 kB / 1.098 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000376/0.8126, allocations: 368.6 kB / 1.099 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004489/0.8131, allocations: 401.6 kB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.126e-05/0.8131, allocations: 48.34 kB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005254/0.8137, allocations: 364 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.8139, allocations: 254.9 kB / 1.1 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.8143, allocations: 354.1 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000985/0.8152, allocations: 0.9682 MB / 1.101 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.8153, allocations: 0.9688 kB / 1.101 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8153, allocations: 0 / 1.101 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.8153, allocations: 0 / 1.101 GB, free: 13.14 MB / 0.8731 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.001392/0.8167, allocations: 0.9827 MB / 1.102 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.8167, allocations: 9.719 kB / 1.102 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.8168, allocations: 96.78 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.8181, allocations: 193.8 kB / 1.102 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.8189, allocations: 0.5304 MB / 1.103 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.8189, allocations: 41.2 kB / 1.103 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.8191, allocations: 60.28 kB / 1.103 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.8202, allocations: 0.8313 MB / 1.104 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.8202, allocations: 7.453 kB / 1.104 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.686e-05/0.8203, allocations: 22.11 kB / 1.104 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.8205, allocations: 67.95 kB / 1.104 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.8213, allocations: 0.5777 MB / 1.104 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003768/0.8251, allocations: 4.563 MB / 1.109 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004228/0.8255, allocations: 298 kB / 1.109 GB, free: 7.184 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002807/0.8258, allocations: 222.5 kB / 1.109 GB, free: 7.098 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.8258, allocations: 11.75 kB / 1.109 GB, free: 7.09 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.8259, allocations: 34.31 kB / 1.109 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=33): time 1.433e-06/0.8259, allocations: 0 / 1.109 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of matching and sorting (n=40): time 0.005047/0.8309, allocations: 2.626 MB / 1.112 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.831, allocations: 56.33 kB / 1.112 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004312/0.8314, allocations: 469.8 kB / 1.112 GB, free: 5.375 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.8315, allocations: 31.33 kB / 1.112 GB, free: 5.34 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.8317, allocations: 342.8 kB / 1.113 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.8318, allocations: 141.9 kB / 1.113 GB, free: 4.953 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.8319, allocations: 106.5 kB / 1.113 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.832, allocations: 360.1 kB / 1.113 GB, free: 4.562 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.8324, allocations: 241 kB / 1.114 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.833, allocations: 409.4 kB / 1.114 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008086/0.8338, allocations: 0.6735 MB / 1.115 GB, free: 3.742 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8338, allocations: 5.375 kB / 1.115 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001572/0.8354, allocations: 0.9156 MB / 1.115 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.8354, allocations: 8.672 kB / 1.115 GB, free: 3.355 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.8354, allocations: 9.25 kB / 1.115 GB, free: 3.352 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007362/0.8362, allocations: 228.5 kB / 1.116 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000477/0.8366, allocations: 115.4 kB / 1.116 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004593/0.8412, allocations: 5.338 MB / 1.121 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.8417, allocations: 30.55 kB / 1.121 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.089e-05/0.8417, allocations: 25.94 kB / 1.121 GB, free: 14.59 MB / 0.8887 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.0002728/0.842, allocations: 223.6 kB / 1.121 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.099e-05/0.8421, allocations: 63 kB / 1.121 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.8437, allocations: 0.774 MB / 1.122 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.8437, allocations: 9.688 kB / 1.122 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.8437, allocations: 1.406 kB / 1.122 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.8437, allocations: 7.719 kB / 1.122 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002739/0.8465, allocations: 1.495 MB / 1.124 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.8465, allocations: 2.172 kB / 1.124 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.8469, allocations: 67 kB / 1.124 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006496/0.8475, allocations: 211.4 kB / 1.124 GB, free: 13.18 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.8476, allocations: 13.91 kB / 1.124 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00456/0.8521, allocations: 5.26 MB / 1.129 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.8522, allocations: 6.5 kB / 1.129 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.8539, allocations: 1.131 MB / 1.13 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.8541, allocations: 184.6 kB / 1.13 GB, free: 7.805 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.8542, allocations: 9.922 kB / 1.13 GB, free: 7.801 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003132/0.8545, allocations: 23.62 kB / 1.13 GB, free: 7.797 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.8546, allocations: 43.2 kB / 1.13 GB, free: 7.781 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.8547, allocations: 13.52 kB / 1.13 GB, free: 7.777 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003175/0.855, allocations: 313.8 kB / 1.131 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.855, allocations: 0 / 1.131 GB, free: 7.633 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006782/0.8557, allocations: 170.4 kB / 1.131 GB, free: 7.613 MB / 0.8887 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.001831/0.8575, allocations: 1.688 MB / 1.132 GB, free: 6.492 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.859, allocations: 1.02 MB / 1.133 GB, free: 5.898 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.859, allocations: 0 / 1.133 GB, free: 5.898 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009274/0.8599, allocations: 0.6743 MB / 1.134 GB, free: 5.445 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008835/0.8608, allocations: 188.6 kB / 1.134 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008329/0.8692, allocations: 5.641 MB / 1.14 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/0.8698, allocations: 0.9487 MB / 1.141 GB, free: 1.324 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004166/0.8703, allocations: 113.3 kB / 1.141 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.8705, allocations: 218.2 kB / 1.141 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of SimCode: time 1.022e-06/0.8705, allocations: 0 / 1.141 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05837/0.9289, allocations: 14.2 MB / 1.155 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.2, allocations: 20 kB / 1.155 GB, free: 13.26 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches