Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.005003/0.005003, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.00127/0.00127, allocations: 201.3 kB / 16.68 MB, free: 5.93 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 68.08 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7468/0.7489, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008838/0.7578, allocations: 6.159 MB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005686/0.7635, allocations: 3.176 MB / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005713/0.7642, allocations: 27.81 kB / 1.175 GB, free: 10.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.7668, allocations: 0.9277 MB / 1.176 GB, free: 9.418 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.7683, allocations: 473.5 kB / 1.177 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.7697, allocations: 0.5015 MB / 1.177 GB, free: 8.453 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001533/0.7712, allocations: 1.1 MB / 1.178 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.7723, allocations: 0.6387 MB / 1.179 GB, free: 6.703 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007122/0.7731, allocations: 442.4 kB / 1.179 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006777/0.7737, allocations: 482.1 kB / 1.18 GB, free: 5.797 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.474e-05/0.7738, allocations: 60 kB / 1.18 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009514/0.7748, allocations: 483 kB / 1.18 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.7751, allocations: 283.3 kB / 1.181 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004958/0.7756, allocations: 398 kB / 1.181 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001648/0.7773, allocations: 1.19 MB / 1.182 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.7773, allocations: 0 / 1.182 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.203e-06/0.7773, allocations: 4 kB / 1.182 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.7773, allocations: 0 / 1.182 GB, free: 3.402 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001804/0.7791, allocations: 1.084 MB / 1.183 GB, free: 2.266 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.7792, allocations: 8.922 kB / 1.183 GB, free: 2.258 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001802/0.7794, allocations: 130.6 kB / 1.183 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001568/0.781, allocations: 220.2 kB / 1.183 GB, free: 1.906 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009827/0.7819, allocations: 0.5926 MB / 1.184 GB, free: 1.273 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.095e-05/0.782, allocations: 45.67 kB / 1.184 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.7821, allocations: 68.3 kB / 1.184 GB, free: 1.164 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.7837, allocations: 1.037 MB / 1.185 GB, free: 8 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.7838, allocations: 0 / 1.185 GB, free: 8 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.7839, allocations: 35.98 kB / 1.185 GB, free: 15.97 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.975e-05/0.784, allocations: 65.27 kB / 1.185 GB, free: 15.91 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.7851, allocations: 0.6956 MB / 1.186 GB, free: 15.21 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005873/0.791, allocations: 5.738 MB / 1.192 GB, free: 9.051 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009231/0.7919, allocations: 0.604 MB / 1.192 GB, free: 8.402 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009054/0.7929, allocations: 436.6 kB / 1.193 GB, free: 7.973 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.948e-05/0.7929, allocations: 4 kB / 1.193 GB, free: 7.969 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.7929, allocations: 34.56 kB / 1.193 GB, free: 7.926 MB / 0.92 GB Notification: Performance of pre-optimization done (n=41): time 2.475e-06/0.793, allocations: 0 / 1.193 GB, free: 7.926 MB / 0.92 GB Notification: Performance of matching and sorting (n=42): time 0.004686/0.7976, allocations: 2.027 MB / 1.195 GB, free: 5.805 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.7977, allocations: 63.39 kB / 1.195 GB, free: 5.73 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005341/0.7983, allocations: 458.8 kB / 1.195 GB, free: 5.273 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.7983, allocations: 33.7 kB / 1.195 GB, free: 5.234 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.7986, allocations: 400.1 kB / 1.195 GB, free: 4.84 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.7988, allocations: 154.7 kB / 1.196 GB, free: 4.688 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.799, allocations: 110.2 kB / 1.196 GB, free: 4.574 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002308/0.7992, allocations: 366.7 kB / 1.196 GB, free: 4.207 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.7996, allocations: 249.2 kB / 1.196 GB, free: 3.965 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.8002, allocations: 449 kB / 1.197 GB, free: 3.43 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.8012, allocations: 0.7558 MB / 1.197 GB, free: 2.578 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8013, allocations: 0 / 1.197 GB, free: 2.578 MB / 0.92 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002019/0.8033, allocations: 1.042 MB / 1.198 GB, free: 1.516 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.8033, allocations: 8.875 kB / 1.199 GB, free: 1.508 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.222e-05/0.8034, allocations: 11.94 kB / 1.199 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.8044, allocations: 315.1 kB / 1.199 GB, free: 1.176 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.8048, allocations: 107.8 kB / 1.199 GB, free: 1.07 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008548/0.8133, allocations: 7.471 MB / 1.206 GB, free: 9.027 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.8139, allocations: 28.03 kB / 1.206 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.8139, allocations: 24.28 kB / 1.206 GB, free: 8.973 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004036/0.8143, allocations: 249.5 kB / 1.207 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.8145, allocations: 67.56 kB / 1.207 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001858/0.8163, allocations: 0.8964 MB / 1.207 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.8163, allocations: 4.141 kB / 1.207 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.8164, allocations: 7.984 kB / 1.207 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.8164, allocations: 0 / 1.207 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002885/0.8193, allocations: 1.679 MB / 1.209 GB, free: 5.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.8193, allocations: 4.031 kB / 1.209 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.8195, allocations: 39.97 kB / 1.209 GB, free: 5.914 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001033/0.8205, allocations: 307.1 kB / 1.209 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.8206, allocations: 12 kB / 1.209 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008283/0.8288, allocations: 7.464 MB / 1.217 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/0.8289, allocations: 8.219 kB / 1.217 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.8308, allocations: 0.9959 MB / 1.218 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.8311, allocations: 188.6 kB / 1.218 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.846e-05/0.8312, allocations: 11.92 kB / 1.218 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.8315, allocations: 27.91 kB / 1.218 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.8316, allocations: 39.95 kB / 1.218 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.8316, allocations: 16 kB / 1.218 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003851/0.832, allocations: 310.9 kB / 1.218 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.832, allocations: 3.938 kB / 1.218 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000831/0.8329, allocations: 192 kB / 1.218 GB, free: 11.73 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.002264/0.8352, allocations: 1.542 MB / 1.22 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00211/0.8373, allocations: 1.203 MB / 1.221 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8373, allocations: 0 / 1.221 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.8388, allocations: 0.8581 MB / 1.222 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/0.8399, allocations: 207.2 kB / 1.222 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00914/0.8491, allocations: 5.897 MB / 1.228 GB, free: 1.555 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000828/0.85, allocations: 0.9882 MB / 1.229 GB, free: 0.5391 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003294/0.8503, allocations: 101.2 kB / 1.229 GB, free: 448 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/0.8506, allocations: 231.3 kB / 1.229 GB, free: 216 kB / 0.9512 GB Notification: Performance of SimCode: time 1.413e-06/0.8506, allocations: 4 kB / 1.229 GB, free: 212 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07855/0.9292, allocations: 15.38 MB / 1.244 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.64, allocations: 10.56 kB / 1.244 GB, free: 1.059 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches