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.001124/0.001124, 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.006158/0.006158, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.222/1.222, allocations: 223.3 MB / 240.3 MB, free: 5.32 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.078/2.078, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002815/0.0002816, allocations: 16 kB / 0.8161 GB, free: 13.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5691/0.5694, allocations: 142.4 MB / 0.9552 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02825/0.5977, allocations: 29.72 MB / 0.9842 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0193/0.617, allocations: 13.41 MB / 0.9973 GB, free: 4.062 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/0.6198, allocations: 123.2 kB / 0.9974 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.6219, allocations: 0.6551 MB / 0.9981 GB, free: 3.281 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006537/0.6285, allocations: 2.479 MB / 1 GB, free: 0.793 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003841/0.6323, allocations: 1.707 MB / 1.002 GB, free: 15.09 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00984/0.6422, allocations: 10.43 MB / 1.012 GB, free: 4.633 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01386/0.6561, allocations: 10.19 MB / 1.022 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004754/0.6608, allocations: 2.591 MB / 1.025 GB, free: 7.73 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00407/0.6649, allocations: 2.938 MB / 1.028 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00088/0.6658, allocations: 244 kB / 1.028 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003056/0.6689, allocations: 1.384 MB / 1.029 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001977/0.6709, allocations: 1.913 MB / 1.031 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002671/0.6735, allocations: 2.388 MB / 1.033 GB, free: 14.83 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.007802/0.6814, allocations: 9.017 MB / 1.042 GB, free: 5.785 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6814, allocations: 0 / 1.042 GB, free: 5.785 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6814, allocations: 0 / 1.042 GB, free: 5.785 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001285/0.6815, allocations: 0 / 1.042 GB, free: 5.785 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.007108/0.6886, allocations: 4.158 MB / 1.046 GB, free: 1.551 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.6887, allocations: 8.031 kB / 1.046 GB, free: 1.543 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007592/0.6894, allocations: 0.6203 MB / 1.047 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005275/0.6947, allocations: 1.002 MB / 1.048 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00434/0.6991, allocations: 2.896 MB / 1.051 GB, free: 12.92 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001998/0.6993, allocations: 316.8 kB / 1.051 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006139/0.6999, allocations: 419.8 kB / 1.051 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009575/0.7095, allocations: 6.788 MB / 1.058 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.753e-05/0.7096, allocations: 27.77 kB / 1.058 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004132/0.71, allocations: 184 kB / 1.058 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000829/0.7109, allocations: 368 kB / 1.059 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007559/0.7184, allocations: 5.118 MB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02717/0.7456, allocations: 30.79 MB / 1.094 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.7475, allocations: 1.383 MB / 1.095 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.7491, allocations: 1.332 MB / 1.096 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.074e-05/0.7491, allocations: 13.31 kB / 1.096 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.7492, allocations: 55.81 kB / 1.096 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=130): time 4.238e-06/0.7492, allocations: 3.984 kB / 1.096 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=199): time 0.08679/0.836, allocations: 22.8 MB / 1.119 GB, free: 4.129 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.8361, allocations: 73.41 kB / 1.119 GB, free: 4.047 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/0.8389, allocations: 2.055 MB / 1.121 GB, free: 1.977 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.8391, allocations: 61.7 kB / 1.121 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/0.8404, allocations: 2.01 MB / 1.123 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005488/0.8409, allocations: 0.6816 MB / 1.123 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002881/0.8412, allocations: 182.3 kB / 1.124 GB, free: 15 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.252e-05/0.8413, allocations: 309.1 kB / 1.124 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.8433, allocations: 1.43 MB / 1.125 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002398/0.8457, allocations: 2.013 MB / 1.127 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004587/0.8503, allocations: 3.7 MB / 1.131 GB, free: 7.051 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.8504, allocations: 4 kB / 1.131 GB, free: 7.047 MB / 0.8887 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01051/0.8609, allocations: 5.661 MB / 1.136 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/0.8609, allocations: 12 kB / 1.136 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.8609, allocations: 16.88 kB / 1.136 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006467/0.8674, allocations: 2.079 MB / 1.138 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.8688, allocations: 379.4 kB / 1.139 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03472/0.9035, allocations: 35.54 MB / 1.174 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002325/0.9059, allocations: 131.8 kB / 1.174 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/0.9061, allocations: 88 kB / 1.174 GB, free: 8.621 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.002702/0.9089, allocations: 1.509 MB / 1.175 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006488/0.9095, allocations: 280.7 kB / 1.175 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/0.92, allocations: 5.215 MB / 1.181 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.92, allocations: 20 kB / 1.181 GB, free: 1.516 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.973e-05/0.9201, allocations: 16 kB / 1.181 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.9201, allocations: 15.89 kB / 1.181 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/0.9368, allocations: 9.685 MB / 1.19 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.9368, allocations: 8 kB / 1.19 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008586/0.9377, allocations: 223.6 kB / 1.19 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005632/0.9433, allocations: 1.831 MB / 1.192 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/0.9435, allocations: 44 kB / 1.192 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03421/0.9777, allocations: 34.56 MB / 1.226 GB, free: 480 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/0.9777, allocations: 11.94 kB / 1.226 GB, free: 468 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009569/0.9873, allocations: 4.913 MB / 1.231 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.9886, allocations: 0.6187 MB / 1.231 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005624/0.9892, allocations: 40 kB / 1.231 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.9909, allocations: 127.8 kB / 1.231 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005864/0.9915, allocations: 189.6 kB / 1.232 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.9916, allocations: 59.94 kB / 1.232 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002118/0.9938, allocations: 1.378 MB / 1.233 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9938, allocations: 0 / 1.233 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003444/0.9972, allocations: 1.047 MB / 1.234 GB, free: 7.906 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.008888/1.006, allocations: 5.539 MB / 1.239 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009414/1.016, allocations: 6.28 MB / 1.246 GB, free: 11.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.016, allocations: 0 / 1.246 GB, free: 11.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.006273/1.022, allocations: 4.399 MB / 1.25 GB, free: 7.051 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006153/1.028, allocations: 0.924 MB / 1.251 GB, free: 6.133 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4924/1.52, allocations: 35.95 MB / 1.286 GB, free: 223.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002674/1.523, allocations: 3.127 MB / 1.289 GB, free: 222.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001785/1.525, allocations: 0.5151 MB / 1.289 GB, free: 222.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/1.526, allocations: 1.672 MB / 1.291 GB, free: 222.6 MB / 1.014 GB Notification: Performance of SimCode: time 1.202e-06/1.526, allocations: 0 / 1.291 GB, free: 222.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.645/3.171, allocations: 85.7 MB / 1.375 GB, free: 151.9 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/3.171, allocations: 241.8 kB / 1.375 GB, free: 151.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.606/7.777, allocations: 5.625 kB / 1.375 GB, free: 151.7 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