Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.001608/0.001608, allocations: 108 kB / 15.6 MB, free: 132 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.001905/0.001905, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.726/2.726, allocations: 469.4 MB / 0.742 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 64.19 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2701, allocations: 159.1 MB / 1.064 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02655/0.2967, allocations: 23.42 MB / 1.087 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01103/0.3077, allocations: 6.496 MB / 1.093 GB, free: 480 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.3096, allocations: 99.5 kB / 1.093 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003915/0.3135, allocations: 1.489 MB / 1.094 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004136/0.3177, allocations: 1.832 MB / 1.096 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.3211, allocations: 1.454 MB / 1.098 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006869/0.328, allocations: 6.9 MB / 1.104 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009013/0.337, allocations: 7.023 MB / 1.111 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003956/0.341, allocations: 2.828 MB / 1.114 GB, free: 10.72 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005293/0.3463, allocations: 3.474 MB / 1.117 GB, free: 7.234 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001591/0.3479, allocations: 0.5273 MB / 1.118 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003337/0.3513, allocations: 1.17 MB / 1.119 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003742/0.355, allocations: 2.46 MB / 1.121 GB, free: 3.07 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004763/0.3598, allocations: 2.532 MB / 1.124 GB, free: 0.5273 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.009296/0.3691, allocations: 8.464 MB / 1.132 GB, free: 8.039 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.3692, allocations: 4 kB / 1.132 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3692, allocations: 0 / 1.132 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002758/0.3694, allocations: 0 / 1.132 GB, free: 8.035 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01008/0.3795, allocations: 4.42 MB / 1.137 GB, free: 3.547 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3796, allocations: 16.03 kB / 1.137 GB, free: 3.531 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001263/0.3809, allocations: 0.5753 MB / 1.137 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008989/0.3899, allocations: 1.677 MB / 1.139 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005433/0.3953, allocations: 2.571 MB / 1.141 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002852/0.3956, allocations: 275.7 kB / 1.142 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001403/0.3971, allocations: 368 kB / 1.142 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.4112, allocations: 7.494 MB / 1.149 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001101/0.4113, allocations: 15.88 kB / 1.149 GB, free: 6.23 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008312/0.4122, allocations: 155.9 kB / 1.149 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005774/0.4128, allocations: 491.3 kB / 1.15 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009902/0.4227, allocations: 5.697 MB / 1.155 GB, free: 15.89 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03342/0.4561, allocations: 31.71 MB / 1.186 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002806/0.459, allocations: 2.09 MB / 1.188 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002915/0.4619, allocations: 2.182 MB / 1.191 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.4621, allocations: 13.31 kB / 1.191 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.4621, allocations: 51.81 kB / 1.191 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=146): time 2.965e-06/0.4621, allocations: 0 / 1.191 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of matching and sorting (n=251): time 0.7538/1.216, allocations: 77.01 MB / 1.266 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.556e-05/1.216, allocations: 77.03 kB / 1.266 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/1.218, allocations: 1.667 MB / 1.267 GB, free: 172 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003569/1.219, allocations: 65.77 kB / 1.268 GB, free: 172 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007494/1.219, allocations: 1.744 MB / 1.269 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007208/1.22, allocations: 0.859 MB / 1.27 GB, free: 170 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009612/1.221, allocations: 480.1 kB / 1.271 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.423e-05/1.221, allocations: 306.6 kB / 1.271 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003345/1.225, allocations: 2.726 MB / 1.273 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003652/1.228, allocations: 3.332 MB / 1.277 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007245/1.235, allocations: 6.396 MB / 1.283 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.319e-05/1.235, allocations: 8.594 kB / 1.283 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02971/1.265, allocations: 14.67 MB / 1.297 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/1.265, allocations: 12.59 kB / 1.297 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/1.265, allocations: 18.03 kB / 1.297 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02667/1.292, allocations: 9.3 MB / 1.306 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/1.293, allocations: 295.5 kB / 1.307 GB, free: 148 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06584/1.359, allocations: 52.4 MB / 1.358 GB, free: 94.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/1.362, allocations: 223.7 kB / 1.358 GB, free: 94.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002625/1.362, allocations: 105.3 kB / 1.358 GB, free: 94.45 MB / 0.9981 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002094/1.365, allocations: 1.579 MB / 1.36 GB, free: 92.86 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000459/1.365, allocations: 246.8 kB / 1.36 GB, free: 92.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02827/1.393, allocations: 14.75 MB / 1.374 GB, free: 77.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/1.393, allocations: 29.69 kB / 1.374 GB, free: 77.78 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001053/1.394, allocations: 44 kB / 1.374 GB, free: 77.74 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-05/1.394, allocations: 11.95 kB / 1.374 GB, free: 77.73 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03571/1.429, allocations: 20.51 MB / 1.395 GB, free: 57.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/1.429, allocations: 8 kB / 1.395 GB, free: 57.06 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007162/1.43, allocations: 167.7 kB / 1.395 GB, free: 56.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02698/1.457, allocations: 9.061 MB / 1.404 GB, free: 47.81 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005228/1.458, allocations: 47.98 kB / 1.404 GB, free: 47.77 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0673/1.525, allocations: 51.95 MB / 1.454 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.525, allocations: 4 kB / 1.454 GB, free: 10.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03179/1.557, allocations: 14.37 MB / 1.468 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0021/1.559, allocations: 0.8493 MB / 1.469 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005242/1.559, allocations: 48 kB / 1.469 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/1.562, allocations: 203.7 kB / 1.469 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001264/1.563, allocations: 241.5 kB / 1.47 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/1.563, allocations: 64 kB / 1.47 GB, free: 11.05 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001453/1.565, allocations: 1.125 MB / 1.471 GB, free: 9.902 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.91e-07/1.565, allocations: 0 / 1.471 GB, free: 9.902 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004596/1.569, allocations: 1.613 MB / 1.472 GB, free: 8.289 MB / 1.029 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03192/1.601, allocations: 14.99 MB / 1.487 GB, free: 9.152 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02557/1.627, allocations: 11.33 MB / 1.498 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/1.627, allocations: 4 kB / 1.498 GB, free: 13.77 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.01853/1.645, allocations: 7.31 MB / 1.505 GB, free: 6.406 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004296/1.65, allocations: 0.5584 MB / 1.506 GB, free: 5.871 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1047/1.754, allocations: 53.36 MB / 1.558 GB, free: 14.34 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004242/1.759, allocations: 3.228 MB / 1.561 GB, free: 11.07 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001214/1.76, allocations: 393 kB / 1.561 GB, free: 10.69 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00165/1.762, allocations: 1.464 MB / 1.563 GB, free: 9.223 MB / 1.123 GB Notification: Performance of SimCode: time 9.52e-07/1.762, allocations: 0 / 1.563 GB, free: 9.223 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1806/1.942, allocations: 119.4 MB / 1.679 GB, free: 2.258 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/13.19, allocations: 9.062 kB / 1.679 GB, free: 2.25 MB / 1.232 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_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_ACLineMatrix_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches