Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.001794/0.001794, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001968/0.001968, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.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.574/2.574, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002787/0.002787, allocations: 63.91 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6065/0.6093, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01204/0.6213, allocations: 10.02 MB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005047/0.6264, allocations: 3.045 MB / 1.03 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006279/0.6271, allocations: 31.88 kB / 1.03 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.6289, allocations: 0.688 MB / 1.031 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00139/0.6303, allocations: 0.6922 MB / 1.032 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.6316, allocations: 0.6355 MB / 1.032 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00249/0.6341, allocations: 2.734 MB / 1.035 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002717/0.6368, allocations: 2.552 MB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.6381, allocations: 1.13 MB / 1.038 GB, free: 12.85 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/0.64, allocations: 1.379 MB / 1.04 GB, free: 11.46 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000443/0.6404, allocations: 216 kB / 1.04 GB, free: 11.25 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009547/0.6414, allocations: 495.3 kB / 1.04 GB, free: 10.77 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008651/0.6423, allocations: 0.9785 MB / 1.041 GB, free: 9.789 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009528/0.6432, allocations: 1.015 MB / 1.042 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.6458, allocations: 3.389 MB / 1.046 GB, free: 5.371 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6458, allocations: 4 kB / 1.046 GB, free: 5.367 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.477e-06/0.6458, allocations: 0 / 1.046 GB, free: 5.367 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.222e-05/0.6459, allocations: 3.938 kB / 1.046 GB, free: 5.363 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003049/0.6489, allocations: 1.94 MB / 1.048 GB, free: 3.367 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.649, allocations: 8.031 kB / 1.048 GB, free: 3.359 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000288/0.6493, allocations: 248.7 kB / 1.048 GB, free: 3.105 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005918/0.6552, allocations: 0.8844 MB / 1.049 GB, free: 2.219 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001624/0.6568, allocations: 1.129 MB / 1.05 GB, free: 1.047 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.511e-05/0.6569, allocations: 107.3 kB / 1.05 GB, free: 0.9414 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.6572, allocations: 144.4 kB / 1.05 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004063/0.6612, allocations: 3.021 MB / 1.053 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/0.6613, allocations: 3.938 kB / 1.053 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001815/0.6615, allocations: 63.97 kB / 1.053 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000201/0.6617, allocations: 175 kB / 1.053 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/0.6654, allocations: 2.608 MB / 1.056 GB, free: 10.83 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01465/0.68, allocations: 13.56 MB / 1.069 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.6819, allocations: 1.295 MB / 1.07 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.6832, allocations: 1.051 MB / 1.071 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-05/0.6833, allocations: 12.66 kB / 1.071 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.6833, allocations: 47.22 kB / 1.071 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 2.825e-06/0.6833, allocations: 0 / 1.071 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=139): time 0.07576/0.7591, allocations: 19.37 MB / 1.09 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.7592, allocations: 68.7 kB / 1.09 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.7604, allocations: 0.9183 MB / 1.091 GB, free: 5.219 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.7605, allocations: 49.7 kB / 1.091 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/0.761, allocations: 0.7322 MB / 1.092 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000436/0.7615, allocations: 489 kB / 1.093 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005578/0.762, allocations: 291.4 kB / 1.093 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.7622, allocations: 357.9 kB / 1.093 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/0.764, allocations: 1.335 MB / 1.094 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.766, allocations: 1.659 MB / 1.096 GB, free: 176 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004085/0.7701, allocations: 3.088 MB / 1.099 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.7701, allocations: 7.938 kB / 1.099 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01165/0.7818, allocations: 5.638 MB / 1.105 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.7818, allocations: 15.94 kB / 1.105 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/0.7819, allocations: 8 kB / 1.105 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008814/0.7907, allocations: 2.739 MB / 1.107 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008212/0.7915, allocations: 191.7 kB / 1.107 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03499/0.8265, allocations: 25.73 MB / 1.133 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.8281, allocations: 95.95 kB / 1.133 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/0.8283, allocations: 52 kB / 1.133 GB, free: 9.887 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001134/0.8294, allocations: 0.7393 MB / 1.133 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/0.8297, allocations: 114.6 kB / 1.134 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.8411, allocations: 5.396 MB / 1.139 GB, free: 3.602 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/0.8411, allocations: 16 kB / 1.139 GB, free: 3.586 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.8e-05/0.8412, allocations: 23.98 kB / 1.139 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.8412, allocations: 7.969 kB / 1.139 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/0.8568, allocations: 8.644 MB / 1.147 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.8568, allocations: 0 / 1.147 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004458/0.8573, allocations: 116.2 kB / 1.147 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008271/0.8656, allocations: 2.566 MB / 1.15 GB, free: 8.098 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.8657, allocations: 28 kB / 1.15 GB, free: 8.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03163/0.8973, allocations: 23.01 MB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/0.8974, allocations: 7.938 kB / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01092/0.9083, allocations: 5.13 MB / 1.177 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008905/0.9092, allocations: 475.6 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002873/0.9095, allocations: 28 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.9106, allocations: 79.89 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005395/0.9112, allocations: 125 kB / 1.178 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.9113, allocations: 36 kB / 1.178 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008383/0.9121, allocations: 0.6434 MB / 1.179 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9121, allocations: 0 / 1.179 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002314/0.9144, allocations: 0.7188 MB / 1.179 GB, free: 9.16 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01089/0.9253, allocations: 5.71 MB / 1.185 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007814/0.9332, allocations: 4.736 MB / 1.19 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.9332, allocations: 0 / 1.19 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.005123/0.9383, allocations: 2.658 MB / 1.192 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.9397, allocations: 209.8 kB / 1.192 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03731/0.9771, allocations: 21.86 MB / 1.214 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002127/0.9792, allocations: 1.7 MB / 1.215 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0008331/0.9801, allocations: 325.5 kB / 1.216 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006766/0.9808, allocations: 0.5304 MB / 1.216 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of SimCode: time 2.565e-06/0.9808, allocations: 0 / 1.216 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5319/1.513, allocations: 51.36 MB / 1.266 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.799/11.31, allocations: 11.09 kB / 1.266 GB, free: 216.7 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches