Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.006506/0.006505, allocations: 96.31 kB / 15.73 MB, free: 5.996 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.001495/0.001495, allocations: 186 kB / 16.67 MB, free: 5.926 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.283/1.283, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.576/2.576, allocations: 469.4 MB / 0.7422 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.91 kB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2938, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.6313/0.9251, allocations: 35.12 MB / 1.254 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01458/0.9397, allocations: 9.933 MB / 1.264 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003215/0.9429, allocations: 150 kB / 1.264 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008501/0.9515, allocations: 3.811 MB / 1.268 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006369/0.9579, allocations: 2.145 MB / 1.27 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005376/0.9633, allocations: 1.954 MB / 1.272 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01243/0.9757, allocations: 7.993 MB / 1.279 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01416/0.9899, allocations: 9.528 MB / 1.289 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006904/0.9969, allocations: 3.423 MB / 1.292 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00678/1.004, allocations: 3.742 MB / 1.296 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002925/1.007, allocations: 0.6783 MB / 1.296 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005388/1.012, allocations: 1.438 MB / 1.298 GB, free: 208 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006138/1.018, allocations: 2.62 MB / 1.3 GB, free: 15.11 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.009305/1.028, allocations: 3.102 MB / 1.303 GB, free: 13.12 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01907/1.047, allocations: 10.41 MB / 1.314 GB, free: 9.809 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/1.047, allocations: 4 kB / 1.314 GB, free: 9.805 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.004e-06/1.047, allocations: 0 / 1.314 GB, free: 9.805 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003678/1.047, allocations: 0 / 1.314 GB, free: 9.805 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01979/1.067, allocations: 5.544 MB / 1.319 GB, free: 6.258 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/1.067, allocations: 8.906 kB / 1.319 GB, free: 6.258 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002903/1.07, allocations: 0.6968 MB / 1.32 GB, free: 5.766 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006618/1.076, allocations: 0.9882 MB / 1.321 GB, free: 5.281 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008236/1.085, allocations: 3.199 MB / 1.324 GB, free: 3.188 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003677/1.085, allocations: 354.8 kB / 1.324 GB, free: 3.027 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/1.087, allocations: 471.4 kB / 1.325 GB, free: 2.867 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01861/1.106, allocations: 7.92 MB / 1.332 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001933/1.106, allocations: 19.22 kB / 1.332 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001327/1.107, allocations: 207.4 kB / 1.332 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006475/1.108, allocations: 365.5 kB / 1.333 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01333/1.121, allocations: 5.938 MB / 1.339 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04413/1.165, allocations: 36.01 MB / 1.374 GB, free: 7.5 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003588/1.169, allocations: 2.142 MB / 1.376 GB, free: 5.344 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001929/1.171, allocations: 1.477 MB / 1.377 GB, free: 3.867 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/1.171, allocations: 21.25 kB / 1.377 GB, free: 3.848 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/1.171, allocations: 59.88 kB / 1.377 GB, free: 3.781 MB / 1.061 GB Notification: Performance of pre-optimization done (n=157): time 3.366e-06/1.171, allocations: 0 / 1.377 GB, free: 3.781 MB / 1.061 GB Notification: Performance of matching and sorting (n=160): time 0.01471/1.186, allocations: 7.602 MB / 1.385 GB, free: 11.91 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/1.186, allocations: 72.7 kB / 1.385 GB, free: 11.83 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/1.189, allocations: 1.86 MB / 1.387 GB, free: 9.945 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003294/1.189, allocations: 57.69 kB / 1.387 GB, free: 9.883 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001369/1.191, allocations: 2.188 MB / 1.389 GB, free: 7.676 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006935/1.191, allocations: 0.5809 MB / 1.389 GB, free: 7.09 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008467/1.192, allocations: 404 kB / 1.39 GB, free: 6.688 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.726e-05/1.192, allocations: 309.1 kB / 1.39 GB, free: 6.383 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/1.194, allocations: 1.062 MB / 1.391 GB, free: 5.316 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/1.196, allocations: 1.764 MB / 1.393 GB, free: 3.234 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003653/1.2, allocations: 3.049 MB / 1.396 GB, free: 15.87 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/1.2, allocations: 7.938 kB / 1.396 GB, free: 15.86 MB / 1.092 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006416/1.206, allocations: 3.934 MB / 1.4 GB, free: 11.88 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/1.206, allocations: 12 kB / 1.4 GB, free: 11.87 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.184e-05/1.206, allocations: 24 kB / 1.4 GB, free: 11.85 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002394/1.208, allocations: 0.9314 MB / 1.401 GB, free: 10.88 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/1.21, allocations: 419.3 kB / 1.401 GB, free: 10.47 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02054/1.231, allocations: 22.78 MB / 1.423 GB, free: 2 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/1.233, allocations: 123.8 kB / 1.423 GB, free: 1.879 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005233/1.234, allocations: 95.94 kB / 1.424 GB, free: 1.785 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,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.004091/1.238, allocations: 1.654 MB / 1.425 GB, free: 124 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007226/1.238, allocations: 266.6 kB / 1.425 GB, free: 15.86 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005586/1.244, allocations: 3.263 MB / 1.429 GB, free: 12.55 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.244, allocations: 19.98 kB / 1.429 GB, free: 12.53 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.601e-05/1.244, allocations: 8 kB / 1.429 GB, free: 12.52 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/1.244, allocations: 11.91 kB / 1.429 GB, free: 12.51 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/1.258, allocations: 7.545 MB / 1.436 GB, free: 4.805 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/1.258, allocations: 4.062 kB / 1.436 GB, free: 4.801 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009445/1.259, allocations: 223.6 kB / 1.436 GB, free: 4.582 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002303/1.262, allocations: 0.8843 MB / 1.437 GB, free: 3.66 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/1.262, allocations: 32 kB / 1.437 GB, free: 3.629 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01966/1.282, allocations: 22.76 MB / 1.459 GB, free: 11.19 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.282, allocations: 4 kB / 1.459 GB, free: 11.18 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006158/1.288, allocations: 3.384 MB / 1.463 GB, free: 7.688 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/1.29, allocations: 0.5422 MB / 1.463 GB, free: 7.125 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007917/1.29, allocations: 40.11 kB / 1.463 GB, free: 7.086 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.292, allocations: 91.89 kB / 1.463 GB, free: 6.996 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004346/1.292, allocations: 141 kB / 1.463 GB, free: 6.859 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/1.293, allocations: 48 kB / 1.463 GB, free: 6.812 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00205/1.295, allocations: 1.221 MB / 1.465 GB, free: 5.578 MB / 1.154 GB Notification: Performance of sort global known variables: time 2.11e-07/1.295, allocations: 0 / 1.465 GB, free: 5.578 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003609/1.298, allocations: 0.9062 MB / 1.466 GB, free: 4.672 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005559/1.304, allocations: 4.014 MB / 1.469 GB, free: 0.5391 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006351/1.31, allocations: 4.432 MB / 1.474 GB, free: 11.95 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.31, allocations: 4 kB / 1.474 GB, free: 11.95 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004092/1.314, allocations: 3.003 MB / 1.477 GB, free: 8.789 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004684/1.319, allocations: 0.8132 MB / 1.478 GB, free: 7.988 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0429/1.362, allocations: 25.2 MB / 1.502 GB, free: 13.68 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004617/1.367, allocations: 3.205 MB / 1.505 GB, free: 10.45 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001775/1.368, allocations: 0.5293 MB / 1.506 GB, free: 9.91 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/1.37, allocations: 1.651 MB / 1.507 GB, free: 8.258 MB / 1.201 GB Notification: Performance of SimCode: time 8.52e-07/1.371, allocations: 3.938 kB / 1.507 GB, free: 8.254 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1253/1.496, allocations: 70.26 MB / 1.576 GB, free: 2.852 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/14.89, allocations: 11.91 kB / 1.576 GB, free: 2.84 MB / 1.264 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches