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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009496/0.0009497, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007072/0.007072, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.242/2.242, allocations: 390.9 MB / 0.6664 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003115, allocations: 12 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5522/0.5525, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004682/0.5573, allocations: 5.151 MB / 0.9602 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003362/0.5607, allocations: 2.622 MB / 0.9628 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000284/0.561, allocations: 22.12 kB / 0.9628 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.5613, allocations: 99.53 kB / 0.9629 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000772/0.562, allocations: 382.2 kB / 0.9632 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007486/0.5628, allocations: 370.6 kB / 0.9636 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009544/0.5638, allocations: 1.261 MB / 0.9648 GB, free: 272 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.5649, allocations: 0.7866 MB / 0.9656 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004728/0.5654, allocations: 313.8 kB / 0.9659 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004975/0.5659, allocations: 390.6 kB / 0.9663 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.644e-05/0.5659, allocations: 26.03 kB / 0.9663 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007111/0.5667, allocations: 430.5 kB / 0.9667 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002285/0.5669, allocations: 220.9 kB / 0.9669 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.5672, allocations: 345 kB / 0.9672 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.5683, allocations: 0.963 MB / 0.9682 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.5683, allocations: 0 / 0.9682 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5683, allocations: 1.062 kB / 0.9682 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.5684, allocations: 3.938 kB / 0.9682 GB, free: 14.08 MB / 0.7325 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.001529/0.5699, allocations: 0.8484 MB / 0.969 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.5699, allocations: 9.562 kB / 0.969 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000137/0.5701, allocations: 107.9 kB / 0.9691 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/0.5715, allocations: 193.7 kB / 0.9693 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007942/0.5723, allocations: 498.4 kB / 0.9698 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/0.5724, allocations: 42.11 kB / 0.9698 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.5726, allocations: 51.19 kB / 0.9699 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001289/0.5739, allocations: 0.8272 MB / 0.9707 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.5739, allocations: 6.688 kB / 0.9707 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.687e-05/0.574, allocations: 22.67 kB / 0.9707 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002021/0.5742, allocations: 66.17 kB / 0.9708 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009693/0.5751, allocations: 0.5796 MB / 0.9713 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004364/0.5795, allocations: 4.581 MB / 0.9758 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.58, allocations: 295.5 kB / 0.9761 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.5803, allocations: 227.1 kB / 0.9763 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.5803, allocations: 3.656 kB / 0.9763 GB, free: 7.262 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.5804, allocations: 32.84 kB / 0.9764 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.924e-06/0.5804, allocations: 0 / 0.9764 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40): time 0.005542/0.5859, allocations: 2.647 MB / 0.9789 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.586, allocations: 55.38 kB / 0.979 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004692/0.5865, allocations: 469.5 kB / 0.9794 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.5865, allocations: 31.89 kB / 0.9795 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002215/0.5867, allocations: 352.2 kB / 0.9798 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.5869, allocations: 136 kB / 0.9799 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-05/0.5869, allocations: 54.42 kB / 0.98 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5871, allocations: 368 kB / 0.9803 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.5874, allocations: 234.6 kB / 0.9806 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000458/0.5879, allocations: 408.8 kB / 0.981 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008501/0.5888, allocations: 0.6761 MB / 0.9816 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5888, allocations: 4 kB / 0.9816 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001615/0.5904, allocations: 0.9248 MB / 0.9825 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5904, allocations: 8 kB / 0.9825 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5904, allocations: 4 kB / 0.9825 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007559/0.5912, allocations: 230.8 kB / 0.9828 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/0.5917, allocations: 115.8 kB / 0.9829 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004644/0.5964, allocations: 4.942 MB / 0.9877 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.5968, allocations: 31.97 kB / 0.9877 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.5969, allocations: 20 kB / 0.9877 GB, free: 12.58 MB / 0.7481 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.0003159/0.5972, allocations: 229.6 kB / 0.988 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.5973, allocations: 59.28 kB / 0.988 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.5988, allocations: 0.7736 MB / 0.9888 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.5988, allocations: 8 kB / 0.9888 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.5988, allocations: 0 / 0.9888 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5988, allocations: 4 kB / 0.9888 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.6012, allocations: 1.498 MB / 0.9902 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.6012, allocations: 4 kB / 0.9902 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.6016, allocations: 71.88 kB / 0.9903 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006403/0.6022, allocations: 202.5 kB / 0.9905 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.036e-05/0.6023, allocations: 19.94 kB / 0.9905 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004379/0.6067, allocations: 4.866 MB / 0.9953 GB, free: 4.336 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.6067, allocations: 7.938 kB / 0.9953 GB, free: 4.328 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.6084, allocations: 1.143 MB / 0.9964 GB, free: 3.137 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.6086, allocations: 172.4 kB / 0.9966 GB, free: 2.949 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.715e-05/0.6087, allocations: 12 kB / 0.9966 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.609, allocations: 23.97 kB / 0.9966 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.6091, allocations: 39.83 kB / 0.9966 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.6091, allocations: 12 kB / 0.9967 GB, free: 2.863 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003445/0.6095, allocations: 318.9 kB / 0.997 GB, free: 2.555 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.1e-07/0.6095, allocations: 4.062 kB / 0.997 GB, free: 2.551 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006751/0.6102, allocations: 164 kB / 0.9971 GB, free: 2.391 MB / 0.7481 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.002003/0.6122, allocations: 1.693 MB / 0.9988 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001551/0.6138, allocations: 1.008 MB / 0.9998 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.6138, allocations: 4.125 kB / 0.9998 GB, free: 15.59 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0008615/0.6146, allocations: 0.6836 MB / 1 GB, free: 14.86 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000969/0.6156, allocations: 160.9 kB / 1.001 GB, free: 14.71 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007724/0.6234, allocations: 5.994 MB / 1.006 GB, free: 8.426 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004982/0.6239, allocations: 0.9494 MB / 1.007 GB, free: 7.449 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003629/0.6243, allocations: 113 kB / 1.007 GB, free: 7.336 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.6246, allocations: 219.4 kB / 1.008 GB, free: 7.121 MB / 0.7637 GB Notification: Performance of SimCode: time 9.02e-07/0.6246, allocations: 0 / 1.008 GB, free: 7.121 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.136/1.761, allocations: 13.36 MB / 1.021 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003434/1.761, allocations: 239 kB / 1.021 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.043/6.805, allocations: 0 / 1.021 GB, free: 9.836 MB / 0.7794 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