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.001358/0.001358, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002089/0.002089, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.335/1.335, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.27/2.27, allocations: 390.2 MB / 0.6643 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6977/0.6989, allocations: 140.4 MB / 0.9491 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006319/0.7053, allocations: 5.565 MB / 0.9545 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003802/0.7091, allocations: 2.642 MB / 0.9571 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000597/0.7098, allocations: 22.69 kB / 0.9571 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/0.7114, allocations: 0.642 MB / 0.9577 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.7125, allocations: 378.6 kB / 0.9581 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009525/0.7135, allocations: 377 kB / 0.9584 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.7148, allocations: 1.258 MB / 0.9597 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000861/0.7157, allocations: 449 kB / 0.9601 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007152/0.7164, allocations: 334.3 kB / 0.9604 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008132/0.7173, allocations: 421 kB / 0.9608 GB, free: 408 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.7174, allocations: 33.41 kB / 0.9609 GB, free: 408 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.7185, allocations: 434.9 kB / 0.9613 GB, free: 176 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003165/0.7188, allocations: 238.4 kB / 0.9615 GB, free: 24 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006036/0.7194, allocations: 334.6 kB / 0.9618 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.7207, allocations: 0.9681 MB / 0.9628 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7208, allocations: 1.438 kB / 0.9628 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.001e-06/0.7208, allocations: 0 / 0.9628 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.503e-05/0.7208, allocations: 0 / 0.9628 GB, free: 15.16 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.002253/0.7231, allocations: 0.9831 MB / 0.9637 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.7231, allocations: 9.719 kB / 0.9637 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/0.7233, allocations: 102.8 kB / 0.9638 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.7248, allocations: 196.9 kB / 0.964 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008857/0.7257, allocations: 494.4 kB / 0.9645 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.7257, allocations: 42.11 kB / 0.9645 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/0.7259, allocations: 46.59 kB / 0.9646 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.7271, allocations: 0.8312 MB / 0.9654 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.7272, allocations: 6.562 kB / 0.9654 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.017e-05/0.7272, allocations: 23.64 kB / 0.9654 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002054/0.7274, allocations: 65.34 kB / 0.9655 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009081/0.7284, allocations: 0.5726 MB / 0.966 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004262/0.7326, allocations: 4.58 MB / 0.9705 GB, free: 8.535 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00046/0.7331, allocations: 299.6 kB / 0.9708 GB, free: 8.371 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.7334, allocations: 222.9 kB / 0.971 GB, free: 8.258 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.165e-05/0.7335, allocations: 6.781 kB / 0.971 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.7335, allocations: 41.16 kB / 0.971 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 3.727e-06/0.7335, allocations: 3.984 kB / 0.9711 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40): time 0.005759/0.7393, allocations: 2.628 MB / 0.9736 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.7393, allocations: 59.88 kB / 0.9737 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005378/0.7399, allocations: 464.8 kB / 0.9741 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.7399, allocations: 35.2 kB / 0.9742 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002264/0.7402, allocations: 349.2 kB / 0.9745 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.7403, allocations: 140 kB / 0.9746 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.7405, allocations: 106.2 kB / 0.9747 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.7406, allocations: 367.5 kB / 0.9751 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.741, allocations: 239.6 kB / 0.9753 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004541/0.7414, allocations: 406.7 kB / 0.9757 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000849/0.7423, allocations: 0.6768 MB / 0.9763 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7423, allocations: 5.062 kB / 0.9764 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00169/0.744, allocations: 0.9201 MB / 0.9773 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.744, allocations: 8.906 kB / 0.9773 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.744, allocations: 4.844 kB / 0.9773 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008745/0.7449, allocations: 218.8 kB / 0.9775 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/0.7455, allocations: 124.1 kB / 0.9776 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004778/0.7503, allocations: 4.935 MB / 0.9824 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.7508, allocations: 31.97 kB / 0.9824 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.7509, allocations: 20 kB / 0.9825 GB, free: 14.57 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.0003817/0.7512, allocations: 233.6 kB / 0.9827 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.7514, allocations: 55.34 kB / 0.9827 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001526/0.7529, allocations: 0.7738 MB / 0.9835 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.7529, allocations: 4 kB / 0.9835 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.753, allocations: 4 kB / 0.9835 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.753, allocations: 3.938 kB / 0.9835 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.7554, allocations: 1.498 MB / 0.985 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.7555, allocations: 0 / 0.985 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.7558, allocations: 75.88 kB / 0.985 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006859/0.7565, allocations: 202.4 kB / 0.9852 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/0.7566, allocations: 12 kB / 0.9852 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00465/0.7612, allocations: 4.87 MB / 0.99 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/0.7613, allocations: 11.88 kB / 0.99 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.7631, allocations: 1.139 MB / 0.9911 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003153/0.7634, allocations: 172.4 kB / 0.9913 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.7636, allocations: 8 kB / 0.9913 GB, free: 4.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.764, allocations: 27.97 kB / 0.9913 GB, free: 4.902 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.7641, allocations: 43.89 kB / 0.9914 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.7641, allocations: 12 kB / 0.9914 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003921/0.7645, allocations: 318.9 kB / 0.9917 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7645, allocations: 0 / 0.9917 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008153/0.7654, allocations: 164 kB / 0.9918 GB, free: 4.379 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.002088/0.7675, allocations: 1.695 MB / 0.9935 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001619/0.7691, allocations: 1.004 MB / 0.9945 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.7691, allocations: 0 / 0.9945 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009285/0.77, allocations: 0.6877 MB / 0.9951 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009871/0.771, allocations: 171.9 kB / 0.9953 GB, free: 0.6836 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008491/0.7796, allocations: 5.944 MB / 1.001 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.7801, allocations: 0.9417 MB / 1.002 GB, free: 9.484 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004078/0.7806, allocations: 113 kB / 1.002 GB, free: 9.371 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002739/0.7809, allocations: 211.4 kB / 1.002 GB, free: 9.164 MB / 0.7637 GB Notification: Performance of SimCode: time 7.11e-07/0.7809, allocations: 0 / 1.002 GB, free: 9.164 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02934/0.8102, allocations: 13.6 MB / 1.016 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002039/0.8104, allocations: 244.6 kB / 1.016 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.733, allocations: 0 / 1.016 GB, free: 11.61 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