Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_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_latest_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.001061/0.001061, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007768/0.007768, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.305/1.305, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.467/2.467, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002938, allocations: 9.219 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2402, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009591/0.2498, allocations: 9.535 MB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004563/0.2544, allocations: 3.018 MB / 1.071 GB, free: 8.281 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006535/0.2551, allocations: 27.88 kB / 1.071 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004998/0.2556, allocations: 182.6 kB / 1.071 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.2571, allocations: 0.6615 MB / 1.072 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.2582, allocations: 0.5421 MB / 1.072 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.003442/0.2617, allocations: 4.068 MB / 1.076 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003825/0.2655, allocations: 3.11 MB / 1.079 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.2667, allocations: 0.8366 MB / 1.08 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.268, allocations: 1.277 MB / 1.081 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.2682, allocations: 100 kB / 1.082 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007336/0.2689, allocations: 455.2 kB / 1.082 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000656/0.2696, allocations: 0.8379 MB / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007148/0.2703, allocations: 0.8763 MB / 1.084 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002296/0.2726, allocations: 3.263 MB / 1.087 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2726, allocations: 0 / 1.087 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2727, allocations: 0 / 1.087 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.129e-05/0.2727, allocations: 0 / 1.087 GB, free: 7.965 MB / 0.8419 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.002484/0.2752, allocations: 1.604 MB / 1.088 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2752, allocations: 12.03 kB / 1.088 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002927/0.2755, allocations: 248.7 kB / 1.089 GB, free: 6.039 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005329/0.2808, allocations: 0.8844 MB / 1.09 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.2824, allocations: 1.122 MB / 1.091 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.2824, allocations: 115.3 kB / 1.091 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/0.2827, allocations: 148.3 kB / 1.091 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/0.2866, allocations: 3.009 MB / 1.094 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.2867, allocations: 11.94 kB / 1.094 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/0.2869, allocations: 59.97 kB / 1.094 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001902/0.2871, allocations: 175 kB / 1.094 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003563/0.2906, allocations: 2.608 MB / 1.097 GB, free: 13.77 MB / 0.8575 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.01307/0.3037, allocations: 13.53 MB / 1.11 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.3054, allocations: 1.296 MB / 1.111 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.3067, allocations: 1.05 MB / 1.112 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.079e-05/0.3067, allocations: 12.66 kB / 1.112 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3068, allocations: 47.2 kB / 1.112 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.3068, allocations: 0 / 1.112 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139): time 0.06935/0.3761, allocations: 19.47 MB / 1.131 GB, free: 9.09 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3762, allocations: 68.72 kB / 1.131 GB, free: 9.008 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.3772, allocations: 0.9183 MB / 1.132 GB, free: 8.074 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.3774, allocations: 49.7 kB / 1.132 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003985/0.3778, allocations: 0.7244 MB / 1.133 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/0.3781, allocations: 488.9 kB / 1.133 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002005/0.3783, allocations: 129.6 kB / 1.134 GB, free: 6.664 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.3785, allocations: 357.9 kB / 1.134 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.3801, allocations: 1.331 MB / 1.135 GB, free: 4.977 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/0.382, allocations: 1.663 MB / 1.137 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003591/0.3856, allocations: 3.084 MB / 1.14 GB, free: 0 / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.3856, allocations: 4.047 kB / 1.14 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01072/0.3964, allocations: 5.639 MB / 1.145 GB, free: 10.33 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.3964, allocations: 11.94 kB / 1.145 GB, free: 10.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.3964, allocations: 8 kB / 1.145 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008213/0.4046, allocations: 2.724 MB / 1.148 GB, free: 7.574 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.4053, allocations: 187.7 kB / 1.148 GB, free: 7.391 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02977/0.4351, allocations: 23.32 MB / 1.171 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.4365, allocations: 95.94 kB / 1.171 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.4367, allocations: 59.94 kB / 1.171 GB, free: 15.37 MB / 0.9356 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.00105/0.4377, allocations: 0.7393 MB / 1.172 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.438, allocations: 114.6 kB / 1.172 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/0.4485, allocations: 5.396 MB / 1.177 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.4486, allocations: 12 kB / 1.177 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.957e-05/0.4486, allocations: 20.5 kB / 1.177 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.4486, allocations: 3.984 kB / 1.177 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01434/0.463, allocations: 8.629 MB / 1.186 GB, free: 300 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.463, allocations: 4 kB / 1.186 GB, free: 296 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004195/0.4634, allocations: 123.7 kB / 1.186 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007813/0.4712, allocations: 2.552 MB / 1.188 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.4714, allocations: 24 kB / 1.188 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02771/0.4991, allocations: 20.87 MB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.4991, allocations: 4 kB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.5092, allocations: 5.131 MB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007474/0.51, allocations: 483.5 kB / 1.214 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.5102, allocations: 31.94 kB / 1.214 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009181/0.5112, allocations: 79.89 kB / 1.214 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004496/0.5116, allocations: 121 kB / 1.214 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.333e-05/0.5117, allocations: 36 kB / 1.214 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000762/0.5125, allocations: 0.6395 MB / 1.215 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5125, allocations: 0 / 1.215 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002071/0.5146, allocations: 0.7266 MB / 1.216 GB, free: 0.8281 MB / 0.9669 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.01018/0.5248, allocations: 5.703 MB / 1.221 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006318/0.5311, allocations: 4.155 MB / 1.225 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.5311, allocations: 4 kB / 1.225 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004636/0.5358, allocations: 2.677 MB / 1.228 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.5373, allocations: 214.7 kB / 1.228 GB, free: 3.895 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4548/0.9921, allocations: 22.54 MB / 1.25 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001333/0.9935, allocations: 1.702 MB / 1.252 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007679/0.9943, allocations: 324.2 kB / 1.252 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005485/0.9948, allocations: 0.5311 MB / 1.253 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/0.9949, allocations: 0 / 1.253 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.548/5.543, allocations: 48.84 MB / 1.3 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/5.543, allocations: 253.4 kB / 1.301 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/8.535, allocations: 0 / 1.301 GB, free: 155.5 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches