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.00114/0.001139, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001302/0.001301, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.365/1.365, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.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.402/2.402, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 59.89 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5862/0.5876, allocations: 140.4 MB / 0.9493 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007743/0.5954, allocations: 5.55 MB / 0.9547 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004062/0.5995, allocations: 2.63 MB / 0.9572 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004477/0.6, allocations: 22.97 kB / 0.9573 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.6017, allocations: 0.6316 MB / 0.9579 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009205/0.6026, allocations: 387.4 kB / 0.9582 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009359/0.6036, allocations: 375.1 kB / 0.9586 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00098/0.6046, allocations: 0.9617 MB / 0.9595 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007787/0.6054, allocations: 0.5067 MB / 0.96 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004699/0.6058, allocations: 373.2 kB / 0.9604 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004786/0.6063, allocations: 427.3 kB / 0.9608 GB, free: 452 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.363e-05/0.6064, allocations: 48.34 kB / 0.9608 GB, free: 452 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005885/0.607, allocations: 361.1 kB / 0.9612 GB, free: 284 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002018/0.6072, allocations: 246.7 kB / 0.9614 GB, free: 124 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.6076, allocations: 354.6 kB / 0.9618 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.6086, allocations: 0.9929 MB / 0.9627 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6086, allocations: 0 / 0.9627 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.435e-06/0.6087, allocations: 4 kB / 0.9627 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.6087, allocations: 1.438 kB / 0.9627 GB, free: 15.22 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.001724/0.6104, allocations: 0.9714 MB / 0.9637 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.6105, allocations: 8.875 kB / 0.9637 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001232/0.6106, allocations: 95.08 kB / 0.9638 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.612, allocations: 204.6 kB / 0.964 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007458/0.6128, allocations: 494.5 kB / 0.9645 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.367e-05/0.6129, allocations: 38.2 kB / 0.9645 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.613, allocations: 50.47 kB / 0.9645 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.6143, allocations: 0.8281 MB / 0.9653 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.927e-05/0.6143, allocations: 6.188 kB / 0.9654 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.577e-05/0.6144, allocations: 26.98 kB / 0.9654 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002127/0.6146, allocations: 70.44 kB / 0.9654 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009511/0.6156, allocations: 0.5722 MB / 0.966 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004441/0.62, allocations: 4.576 MB / 0.9705 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.6206, allocations: 299.4 kB / 0.9708 GB, free: 8.441 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.6209, allocations: 226.5 kB / 0.971 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.6209, allocations: 3.938 kB / 0.971 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.621, allocations: 33.12 kB / 0.971 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.225e-06/0.621, allocations: 3.938 kB / 0.971 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40): time 0.005912/0.6269, allocations: 2.64 MB / 0.9736 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.627, allocations: 59.45 kB / 0.9737 GB, free: 6.492 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005248/0.6275, allocations: 465.2 kB / 0.9741 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.6275, allocations: 35.86 kB / 0.9741 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.6278, allocations: 339.3 kB / 0.9745 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.6279, allocations: 145.2 kB / 0.9746 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.6281, allocations: 112.8 kB / 0.9747 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6282, allocations: 360 kB / 0.975 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.6286, allocations: 235.2 kB / 0.9753 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005036/0.6291, allocations: 410.7 kB / 0.9757 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009156/0.6301, allocations: 0.6772 MB / 0.9763 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6301, allocations: 1.594 kB / 0.9763 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001801/0.6319, allocations: 0.929 MB / 0.9772 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.6319, allocations: 6.438 kB / 0.9772 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.6319, allocations: 6.375 kB / 0.9772 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008358/0.6328, allocations: 230 kB / 0.9775 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/0.6333, allocations: 116.6 kB / 0.9776 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005163/0.6385, allocations: 5.338 MB / 0.9828 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004891/0.639, allocations: 40.03 kB / 0.9828 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.437e-05/0.6391, allocations: 20 kB / 0.9828 GB, free: 14.27 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.0003269/0.6394, allocations: 225.6 kB / 0.9831 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.6395, allocations: 59.28 kB / 0.9831 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.6411, allocations: 0.7697 MB / 0.9839 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.6411, allocations: 4 kB / 0.9839 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6411, allocations: 4 kB / 0.9839 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.6411, allocations: 0 / 0.9839 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.6437, allocations: 1.498 MB / 0.9853 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.6437, allocations: 0 / 0.9853 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004006/0.6441, allocations: 67.88 kB / 0.9854 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007212/0.6448, allocations: 206.6 kB / 0.9856 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.6449, allocations: 15.98 kB / 0.9856 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00534/0.6502, allocations: 5.277 MB / 0.9908 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.6503, allocations: 4.031 kB / 0.9908 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.6522, allocations: 1.143 MB / 0.9919 GB, free: 4.406 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.6526, allocations: 176.4 kB / 0.9921 GB, free: 4.215 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.6528, allocations: 8 kB / 0.9921 GB, free: 4.207 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.6532, allocations: 31.91 kB / 0.9921 GB, free: 4.176 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.6533, allocations: 39.95 kB / 0.9921 GB, free: 4.137 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.187e-05/0.6534, allocations: 12 kB / 0.9921 GB, free: 4.125 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004034/0.6538, allocations: 314.9 kB / 0.9924 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.51e-07/0.6538, allocations: 0 / 0.9924 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007862/0.6546, allocations: 171.9 kB / 0.9926 GB, free: 3.652 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.002052/0.6567, allocations: 1.699 MB / 0.9943 GB, free: 1.895 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.6585, allocations: 1.052 MB / 0.9953 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6585, allocations: 0 / 0.9953 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009717/0.6595, allocations: 0.6838 MB / 0.996 GB, free: 84 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.6605, allocations: 178.8 kB / 0.9961 GB, free: 15.91 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008179/0.6687, allocations: 5.944 MB / 1.002 GB, free: 9.676 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.6692, allocations: 0.9455 MB / 1.003 GB, free: 8.703 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004081/0.6696, allocations: 121 kB / 1.003 GB, free: 8.582 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.6699, allocations: 215.4 kB / 1.003 GB, free: 8.371 MB / 0.7637 GB Notification: Performance of SimCode: time 6.01e-07/0.6699, allocations: 3.938 kB / 1.003 GB, free: 8.367 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.458/4.128, allocations: 13.99 MB / 1.017 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/4.128, allocations: 248.1 kB / 1.017 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/6.422, allocations: 3.875 kB / 1.017 GB, free: 10.45 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