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.001281/0.001281, 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.001249/0.001249, allocations: 192.7 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.603/2.603, allocations: 437.1 MB / 0.7104 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.88 kB / 0.8694 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6763/0.6778, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00682/0.6846, allocations: 5.542 MB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004215/0.6889, allocations: 2.65 MB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004614/0.6894, allocations: 19.88 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.6913, allocations: 0.6845 MB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.6923, allocations: 401.8 kB / 1.026 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009989/0.6933, allocations: 407 kB / 1.027 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008337/0.6942, allocations: 0.9629 MB / 1.028 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005655/0.6947, allocations: 472.6 kB / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003658/0.6951, allocations: 366.7 kB / 1.029 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004931/0.6956, allocations: 410.4 kB / 1.029 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.916e-05/0.6957, allocations: 48 kB / 1.029 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006918/0.6964, allocations: 367.2 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002564/0.6967, allocations: 251.3 kB / 1.03 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003461/0.697, allocations: 346.2 kB / 1.03 GB, free: 5.609 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009275/0.698, allocations: 0.9617 MB / 1.031 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.698, allocations: 0 / 1.031 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.323e-06/0.698, allocations: 0 / 1.031 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.698, allocations: 0 / 1.031 GB, free: 4.645 MB / 0.7794 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.001637/0.6996, allocations: 0.9776 MB / 1.032 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.6997, allocations: 8.031 kB / 1.032 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.6998, allocations: 94.7 kB / 1.032 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.7011, allocations: 199.8 kB / 1.032 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006318/0.7018, allocations: 498.5 kB / 1.033 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.7018, allocations: 33.38 kB / 1.033 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.702, allocations: 60.53 kB / 1.033 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.7031, allocations: 0.8316 MB / 1.034 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.7031, allocations: 11.89 kB / 1.034 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.7032, allocations: 16 kB / 1.034 GB, free: 1.754 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001877/0.7034, allocations: 72.89 kB / 1.034 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008269/0.7042, allocations: 0.5658 MB / 1.034 GB, free: 1.117 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004015/0.7083, allocations: 4.589 MB / 1.039 GB, free: 12.18 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.7087, allocations: 291.3 kB / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.709, allocations: 237.2 kB / 1.039 GB, free: 11.65 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.7091, allocations: 8.219 kB / 1.039 GB, free: 11.64 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.7091, allocations: 38.83 kB / 1.039 GB, free: 11.6 MB / 0.795 GB Notification: Performance of pre-optimization done (n=33): time 2.304e-06/0.7091, allocations: 0 / 1.039 GB, free: 11.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=40): time 0.005394/0.7145, allocations: 2.63 MB / 1.042 GB, free: 8.84 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.7146, allocations: 55.41 kB / 1.042 GB, free: 8.773 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000455/0.715, allocations: 465.9 kB / 1.042 GB, free: 8.309 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/0.7151, allocations: 37.7 kB / 1.042 GB, free: 8.266 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.7153, allocations: 335.7 kB / 1.043 GB, free: 7.93 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.7154, allocations: 153.9 kB / 1.043 GB, free: 7.777 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.7156, allocations: 106.2 kB / 1.043 GB, free: 7.668 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7157, allocations: 362.8 kB / 1.043 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.7161, allocations: 237 kB / 1.043 GB, free: 7.074 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.7165, allocations: 406.4 kB / 1.044 GB, free: 6.598 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008113/0.7173, allocations: 0.674 MB / 1.045 GB, free: 5.852 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.7173, allocations: 4 kB / 1.045 GB, free: 5.848 MB / 0.795 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001615/0.719, allocations: 0.925 MB / 1.045 GB, free: 4.906 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.719, allocations: 5.875 kB / 1.045 GB, free: 4.902 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.719, allocations: 8 kB / 1.045 GB, free: 4.895 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007829/0.7198, allocations: 230.7 kB / 1.046 GB, free: 4.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.7203, allocations: 111.8 kB / 1.046 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004881/0.7252, allocations: 5.332 MB / 1.051 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004089/0.7256, allocations: 35.97 kB / 1.051 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.784e-05/0.7257, allocations: 20 kB / 1.051 GB, free: 14.73 MB / 0.8106 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.0002777/0.726, allocations: 230.2 kB / 1.051 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.294e-05/0.7261, allocations: 59.28 kB / 1.051 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.7275, allocations: 0.7813 MB / 1.052 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.7275, allocations: 7.984 kB / 1.052 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7275, allocations: 0 / 1.052 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.7275, allocations: 3.984 kB / 1.052 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.7298, allocations: 1.503 MB / 1.054 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7298, allocations: 0 / 1.054 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003803/0.7302, allocations: 67.89 kB / 1.054 GB, free: 11.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006486/0.7308, allocations: 210.5 kB / 1.054 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.7309, allocations: 12 kB / 1.054 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004635/0.7355, allocations: 5.27 MB / 1.059 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.7355, allocations: 192 / 1.059 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001678/0.7372, allocations: 1.139 MB / 1.06 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/0.7375, allocations: 172.3 kB / 1.06 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.292e-05/0.7375, allocations: 12 kB / 1.06 GB, free: 4.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003422/0.7379, allocations: 27.97 kB / 1.06 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.738, allocations: 31.95 kB / 1.06 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.738, allocations: 12 kB / 1.06 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003603/0.7384, allocations: 326.9 kB / 1.061 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.292e-06/0.7384, allocations: 0 / 1.061 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000646/0.7391, allocations: 171.9 kB / 1.061 GB, free: 4.125 MB / 0.8106 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.001931/0.741, allocations: 1.696 MB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001658/0.7427, allocations: 1.055 MB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7427, allocations: 0 / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009247/0.7436, allocations: 0.6799 MB / 1.064 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000886/0.7445, allocations: 179.4 kB / 1.064 GB, free: 392 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007751/0.7523, allocations: 5.715 MB / 1.07 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.7528, allocations: 0.9455 MB / 1.071 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003867/0.7532, allocations: 117 kB / 1.071 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002717/0.7535, allocations: 215.4 kB / 1.071 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of SimCode: time 6.51e-07/0.7535, allocations: 4 kB / 1.071 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04187/0.7954, allocations: 14.02 MB / 1.085 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/10.98, allocations: 8.453 kB / 1.085 GB, free: 11.34 MB / 0.8419 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