Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",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.001406/0.001406, 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.001616/0.001616, allocations: 190.4 kB / 16.14 MB, free: 6.645 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.203/1.203, allocations: 222.9 MB / 239.8 MB, free: 4.543 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.06/2.06, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.89 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4671/0.4683, allocations: 140.4 MB / 0.9491 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02618/0.4945, allocations: 30.49 MB / 0.9788 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01708/0.5116, allocations: 13.56 MB / 0.9921 GB, free: 5.922 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003131/0.5148, allocations: 131.2 kB / 0.9922 GB, free: 5.793 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.006639/0.5214, allocations: 2.967 MB / 0.9951 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005864/0.5273, allocations: 2.474 MB / 0.9975 GB, free: 344 kB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004029/0.5314, allocations: 1.847 MB / 0.9993 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.009468/0.5408, allocations: 10.44 MB / 1.01 GB, free: 4.027 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01119/0.552, allocations: 9.037 MB / 1.018 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003984/0.556, allocations: 2.978 MB / 1.021 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004397/0.5604, allocations: 3.426 MB / 1.025 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0009948/0.5614, allocations: 400 kB / 1.025 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.5645, allocations: 1.533 MB / 1.026 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00212/0.5667, allocations: 2.167 MB / 1.029 GB, free: 356 kB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002569/0.5693, allocations: 2.644 MB / 1.031 GB, free: 13.69 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.006602/0.5759, allocations: 9.312 MB / 1.04 GB, free: 4.352 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5759, allocations: 0 / 1.04 GB, free: 4.352 MB / 0.795 GB Notification: Performance of FrontEnd: time 6.52e-07/0.5759, allocations: 0 / 1.04 GB, free: 4.352 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001128/0.576, allocations: 0 / 1.04 GB, free: 4.352 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.007389/0.5834, allocations: 5.136 MB / 1.045 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.5834, allocations: 8.031 kB / 1.045 GB, free: 15.12 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006889/0.5841, allocations: 0.6164 MB / 1.046 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004935/0.5891, allocations: 1.002 MB / 1.047 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004043/0.5931, allocations: 2.892 MB / 1.05 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000173/0.5933, allocations: 316.8 kB / 1.05 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005257/0.5939, allocations: 427.8 kB / 1.05 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00845/0.6023, allocations: 6.791 MB / 1.057 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.99e-05/0.6024, allocations: 15.84 kB / 1.057 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003758/0.6028, allocations: 180 kB / 1.057 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007121/0.6035, allocations: 376 kB / 1.058 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00669/0.6102, allocations: 5.11 MB / 1.063 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02444/0.6347, allocations: 30.74 MB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.6363, allocations: 1.395 MB / 1.094 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.6377, allocations: 1.332 MB / 1.095 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-05/0.6378, allocations: 13.31 kB / 1.095 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.6378, allocations: 47.88 kB / 1.095 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=130): time 2.565e-06/0.6378, allocations: 0 / 1.095 GB, free: 8.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=199): time 0.07566/0.7135, allocations: 23.06 MB / 1.118 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.7136, allocations: 73.41 kB / 1.118 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/0.7158, allocations: 2.066 MB / 1.12 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.7159, allocations: 61.7 kB / 1.12 GB, free: 15.28 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.717, allocations: 2.006 MB / 1.122 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004648/0.7175, allocations: 0.6778 MB / 1.123 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006368/0.7181, allocations: 412.1 kB / 1.123 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 7.051e-05/0.7182, allocations: 309 kB / 1.123 GB, free: 11.85 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.72, allocations: 1.43 MB / 1.125 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002112/0.7221, allocations: 2.017 MB / 1.127 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004065/0.7262, allocations: 3.696 MB / 1.13 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.7262, allocations: 4 kB / 1.13 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.009425/0.7357, allocations: 5.665 MB / 1.136 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.7357, allocations: 12 kB / 1.136 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.7357, allocations: 16 kB / 1.136 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00609/0.7418, allocations: 2.096 MB / 1.138 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.743, allocations: 375.3 kB / 1.138 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03101/0.7741, allocations: 35.49 MB / 1.173 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.7757, allocations: 135.8 kB / 1.173 GB, free: 5.891 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/0.7758, allocations: 88 kB / 1.173 GB, free: 5.805 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.001886/0.7777, allocations: 1.504 MB / 1.175 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003879/0.7781, allocations: 276.7 kB / 1.175 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00888/0.787, allocations: 5.223 MB / 1.18 GB, free: 14.72 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.787, allocations: 20 kB / 1.18 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.943e-05/0.7871, allocations: 16 kB / 1.18 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.7871, allocations: 15.89 kB / 1.18 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.8013, allocations: 9.669 MB / 1.189 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.8013, allocations: 8 kB / 1.189 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007412/0.8021, allocations: 219.7 kB / 1.19 GB, free: 4.566 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005327/0.8074, allocations: 1.838 MB / 1.191 GB, free: 2.672 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.8075, allocations: 44 kB / 1.191 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02935/0.8369, allocations: 34.51 MB / 1.225 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.8369, allocations: 4 kB / 1.225 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007834/0.8448, allocations: 4.912 MB / 1.23 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/0.8458, allocations: 0.6148 MB / 1.231 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004474/0.8463, allocations: 43.91 kB / 1.231 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.8476, allocations: 127.8 kB / 1.231 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000487/0.8481, allocations: 197.5 kB / 1.231 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.8482, allocations: 59.94 kB / 1.231 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001744/0.8499, allocations: 1.374 MB / 1.232 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/0.85, allocations: 0 / 1.232 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002798/0.8528, allocations: 1.047 MB / 1.233 GB, free: 5.145 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 simulation (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007997/0.8608, allocations: 5.527 MB / 1.239 GB, free: 15.44 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008391/0.8692, allocations: 6.28 MB / 1.245 GB, free: 8.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8692, allocations: 0 / 1.245 GB, free: 8.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.005505/0.8747, allocations: 4.391 MB / 1.249 GB, free: 4.309 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003296/0.878, allocations: 0.9213 MB / 1.25 GB, free: 3.395 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3951/1.273, allocations: 35.95 MB / 1.285 GB, free: 259.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004803/1.278, allocations: 3.126 MB / 1.288 GB, free: 258.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002182/1.28, allocations: 0.5159 MB / 1.289 GB, free: 258.1 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001965/1.282, allocations: 1.675 MB / 1.29 GB, free: 256.7 MB / 1.014 GB Notification: Performance of SimCode: time 1.623e-06/1.282, allocations: 0 / 1.29 GB, free: 256.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.012/7.294, allocations: 87.19 MB / 1.376 GB, free: 180.9 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001487/7.294, allocations: 239.4 kB / 1.376 GB, free: 180.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.622/10.92, allocations: 0 / 1.376 GB, free: 180.6 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches