Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_RL_N,fileNamePrefix="Buildings_10_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_10_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.001285/0.001285, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001297/0.001297, allocations: 196.3 kB / 16.14 MB, free: 6.711 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.301/1.301, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437 MB / 0.7099 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.89 kB / 0.8687 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.55, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02423/0.5743, allocations: 23.24 MB / 1.039 GB, free: 11.46 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01038/0.5847, allocations: 6.496 MB / 1.046 GB, free: 4.949 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001558/0.5863, allocations: 83.56 kB / 1.046 GB, free: 4.867 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003218/0.5895, allocations: 1.355 MB / 1.047 GB, free: 3.508 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.593, allocations: 1.743 MB / 1.049 GB, free: 1.758 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.5959, allocations: 1.327 MB / 1.05 GB, free: 444 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01086/0.6068, allocations: 10.62 MB / 1.061 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009701/0.6165, allocations: 7.612 MB / 1.068 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003819/0.6203, allocations: 2.405 MB / 1.07 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004943/0.6253, allocations: 3.611 MB / 1.074 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001263/0.6266, allocations: 380 kB / 1.074 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003225/0.6298, allocations: 1.197 MB / 1.075 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003215/0.633, allocations: 2.311 MB / 1.078 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.00423/0.6373, allocations: 2.356 MB / 1.08 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.009701/0.647, allocations: 8.386 MB / 1.088 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.647, allocations: 0 / 1.088 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.443e-06/0.647, allocations: 4 kB / 1.088 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002391/0.6473, allocations: 0 / 1.088 GB, free: 9.391 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01024/0.6575, allocations: 4.424 MB / 1.092 GB, free: 4.898 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.6576, allocations: 8.031 kB / 1.092 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001307/0.6589, allocations: 0.5753 MB / 1.093 GB, free: 4.305 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008274/0.6672, allocations: 1.677 MB / 1.095 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004792/0.672, allocations: 2.583 MB / 1.097 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.6722, allocations: 271.7 kB / 1.097 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/0.6733, allocations: 364.2 kB / 1.098 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/0.6861, allocations: 7.49 MB / 1.105 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.6863, allocations: 19.81 kB / 1.105 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007321/0.687, allocations: 159.9 kB / 1.105 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005486/0.6876, allocations: 487.3 kB / 1.106 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009231/0.6968, allocations: 5.697 MB / 1.111 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03271/0.7295, allocations: 31.71 MB / 1.142 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/0.7322, allocations: 2.093 MB / 1.144 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002751/0.735, allocations: 2.171 MB / 1.146 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.7352, allocations: 17.31 kB / 1.146 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.7352, allocations: 43.88 kB / 1.146 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 3.036e-06/0.7352, allocations: 0 / 1.146 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=251): time 0.2599/0.9951, allocations: 77 MB / 1.222 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.9952, allocations: 85.41 kB / 1.222 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.9974, allocations: 1.67 MB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0004154/0.9978, allocations: 65.7 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009734/0.9988, allocations: 1.743 MB / 1.225 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007919/0.9996, allocations: 0.8587 MB / 1.226 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009544/1.001, allocations: 481.2 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.664e-05/1.001, allocations: 301.1 kB / 1.227 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003531/1.004, allocations: 2.738 MB / 1.229 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003813/1.008, allocations: 3.336 MB / 1.233 GB, free: 1.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007837/1.016, allocations: 6.39 MB / 1.239 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/1.016, allocations: 4 kB / 1.239 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.4638/1.48, allocations: 14.67 MB / 1.253 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/1.48, allocations: 16.22 kB / 1.253 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/1.48, allocations: 17.81 kB / 1.253 GB, free: 210.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03035/1.51, allocations: 9.238 MB / 1.262 GB, free: 209.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/1.511, allocations: 299.7 kB / 1.263 GB, free: 209.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05852/1.57, allocations: 47.45 MB / 1.309 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/1.572, allocations: 222.6 kB / 1.309 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/1.572, allocations: 108 kB / 1.309 GB, free: 182.5 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.001946/1.574, allocations: 1.578 MB / 1.311 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/1.575, allocations: 241.1 kB / 1.311 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02587/1.601, allocations: 14.75 MB / 1.325 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/1.601, allocations: 32.95 kB / 1.325 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.194e-05/1.601, allocations: 48 kB / 1.325 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.089e-05/1.601, allocations: 11.95 kB / 1.326 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03216/1.633, allocations: 20.51 MB / 1.346 GB, free: 145.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/1.633, allocations: 8 kB / 1.346 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006446/1.634, allocations: 163.8 kB / 1.346 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02457/1.658, allocations: 9.001 MB / 1.354 GB, free: 136 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003044/1.658, allocations: 48 kB / 1.355 GB, free: 135.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05773/1.716, allocations: 47.03 MB / 1.4 GB, free: 88.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.716, allocations: 15.69 kB / 1.4 GB, free: 88.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02579/1.742, allocations: 14.37 MB / 1.415 GB, free: 73.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/1.744, allocations: 0.8493 MB / 1.415 GB, free: 72.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004277/1.744, allocations: 51.91 kB / 1.415 GB, free: 72.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/1.746, allocations: 211.7 kB / 1.416 GB, free: 72.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/1.747, allocations: 233.5 kB / 1.416 GB, free: 72.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002066/1.747, allocations: 68 kB / 1.416 GB, free: 72.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001141/1.748, allocations: 1.125 MB / 1.417 GB, free: 71.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.748, allocations: 0 / 1.417 GB, free: 71.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003826/1.752, allocations: 1.617 MB / 1.419 GB, free: 69.4 MB / 0.9981 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.02544/1.778, allocations: 14.97 MB / 1.433 GB, free: 54.28 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01776/1.795, allocations: 10.54 MB / 1.443 GB, free: 43.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/1.795, allocations: 4 kB / 1.443 GB, free: 43.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.01383/1.809, allocations: 7.312 MB / 1.451 GB, free: 36.31 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/1.812, allocations: 0.506 MB / 1.451 GB, free: 35.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08653/1.898, allocations: 55.14 MB / 1.505 GB, free: 10.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003275/1.902, allocations: 3.228 MB / 1.508 GB, free: 7.195 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001158/1.903, allocations: 387.3 kB / 1.508 GB, free: 6.812 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/1.904, allocations: 1.468 MB / 1.51 GB, free: 5.344 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/1.904, allocations: 4 kB / 1.51 GB, free: 5.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1564/2.061, allocations: 117 MB / 1.624 GB, free: 0.8438 MB / 1.139 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/2.061, allocations: 259.8 kB / 1.624 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.24/5.302, allocations: 4.062 kB / 1.624 GB, free: 0.5859 MB / 1.139 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches