Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.001785/0.001785, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00205/0.00205, allocations: 194.5 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.443/2.444, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.869/4.869, allocations: 461.9 MB / 0.7343 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 62.06 kB / 0.8987 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5699/0.5723, allocations: 157.4 MB / 1.052 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.04822/0.6205, allocations: 22.42 MB / 1.074 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.6402, allocations: 6.198 MB / 1.08 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003948/0.6443, allocations: 83.5 kB / 1.08 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.007708/0.652, allocations: 1.415 MB / 1.082 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008482/0.6605, allocations: 1.514 MB / 1.083 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006863/0.6675, allocations: 1.226 MB / 1.084 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01373/0.6813, allocations: 5.959 MB / 1.09 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02023/0.7016, allocations: 7.252 MB / 1.097 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008469/0.7101, allocations: 2.445 MB / 1.1 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009178/0.7194, allocations: 3.046 MB / 1.103 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.002598/0.7221, allocations: 456 kB / 1.103 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006209/0.7283, allocations: 1.1 MB / 1.104 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.006562/0.735, allocations: 2.031 MB / 1.106 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.008153/0.7432, allocations: 2.17 MB / 1.108 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01751/0.7608, allocations: 7.295 MB / 1.115 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.7609, allocations: 0 / 1.115 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.747e-06/0.7609, allocations: 0 / 1.115 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0003736/0.7613, allocations: 0 / 1.115 GB, free: 7.836 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01922/0.7805, allocations: 3.816 MB / 1.119 GB, free: 3.957 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 0.0002205/0.7807, allocations: 12.62 kB / 1.119 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002523/0.7833, allocations: 0.5015 MB / 1.12 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/0.7965, allocations: 1.217 MB / 1.121 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009796/0.8063, allocations: 2.215 MB / 1.123 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004699/0.8069, allocations: 238.3 kB / 1.123 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002699/0.8096, allocations: 315.9 kB / 1.124 GB, free: 15.39 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02573/0.8353, allocations: 6.212 MB / 1.13 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002702/0.8357, allocations: 23.78 kB / 1.13 GB, free: 8.902 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001888/0.8376, allocations: 139.9 kB / 1.13 GB, free: 8.766 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001263/0.8389, allocations: 406.3 kB / 1.13 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/0.8578, allocations: 4.666 MB / 1.135 GB, free: 3.691 MB / 0.8887 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.06975/0.9276, allocations: 29.13 MB / 1.163 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004424/0.9321, allocations: 1.416 MB / 1.165 GB, free: 2.422 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003908/0.9361, allocations: 1.483 MB / 1.166 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/0.9363, allocations: 16.94 kB / 1.166 GB, free: 0.9219 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.877e-05/0.9364, allocations: 51.5 kB / 1.166 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of pre-optimization done (n=110): time 6.422e-06/0.9364, allocations: 3.938 kB / 1.166 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of matching and sorting (n=179): time 0.269/1.205, allocations: 37.22 MB / 1.202 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/1.206, allocations: 77.34 kB / 1.203 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00401/1.21, allocations: 1.419 MB / 1.204 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0004952/1.21, allocations: 57.7 kB / 1.204 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001752/1.212, allocations: 1.535 MB / 1.205 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.001206/1.213, allocations: 0.6123 MB / 1.206 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001593/1.215, allocations: 383.3 kB / 1.206 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.215, allocations: 301.1 kB / 1.207 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004763/1.22, allocations: 1.784 MB / 1.208 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005752/1.225, allocations: 2.354 MB / 1.211 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/1.237, allocations: 4.387 MB / 1.215 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.101e-05/1.237, allocations: 8 kB / 1.215 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0344/1.271, allocations: 8.563 MB / 1.223 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/1.271, allocations: 12.19 kB / 1.223 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.847e-05/1.271, allocations: 24 kB / 1.223 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02984/1.301, allocations: 4.655 MB / 1.228 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/1.304, allocations: 311.4 kB / 1.228 GB, free: 492 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9841/2.288, allocations: 32.61 MB / 1.26 GB, free: 186.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004325/2.292, allocations: 152.8 kB / 1.26 GB, free: 186.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007017/2.293, allocations: 81.98 kB / 1.26 GB, free: 186.9 MB / 1.014 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004396/2.297, allocations: 1.338 MB / 1.262 GB, free: 186.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/2.298, allocations: 199.7 kB / 1.262 GB, free: 186.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03186/2.33, allocations: 8.441 MB / 1.27 GB, free: 186.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.716e-05/2.33, allocations: 16.53 kB / 1.27 GB, free: 186.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001429/2.331, allocations: 25.08 kB / 1.27 GB, free: 186.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.315e-05/2.331, allocations: 11.08 kB / 1.27 GB, free: 186.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04983/2.38, allocations: 12.85 MB / 1.283 GB, free: 185.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.034e-05/2.381, allocations: 7.062 kB / 1.283 GB, free: 185.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/2.382, allocations: 166.5 kB / 1.283 GB, free: 185.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02923/2.411, allocations: 4.518 MB / 1.287 GB, free: 185.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006414/2.412, allocations: 38.94 kB / 1.287 GB, free: 185.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07241/2.484, allocations: 32.22 MB / 1.319 GB, free: 166.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.54e-05/2.485, allocations: 13.78 kB / 1.319 GB, free: 166.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02987/2.514, allocations: 8.237 MB / 1.327 GB, free: 161.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003049/2.518, allocations: 0.6156 MB / 1.327 GB, free: 161.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/2.519, allocations: 40.09 kB / 1.327 GB, free: 161.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003179/2.522, allocations: 140.3 kB / 1.328 GB, free: 161.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001465/2.524, allocations: 172.9 kB / 1.328 GB, free: 161 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003666/2.524, allocations: 51.98 kB / 1.328 GB, free: 160.9 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002685/2.527, allocations: 0.9549 MB / 1.329 GB, free: 160 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.81e-07/2.527, allocations: 0 / 1.329 GB, free: 160 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.007673/2.534, allocations: 1.119 MB / 1.33 GB, free: 158.9 MB / 1.014 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02845/2.563, allocations: 8.84 MB / 1.338 GB, free: 149.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.02205/2.585, allocations: 7.054 MB / 1.345 GB, free: 142.8 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.986e-05/2.585, allocations: 8.812 kB / 1.345 GB, free: 142.8 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.01426/2.599, allocations: 4.364 MB / 1.35 GB, free: 138.3 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005009/2.604, allocations: 0.5315 MB / 1.35 GB, free: 137.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09307/2.698, allocations: 36.72 MB / 1.386 GB, free: 99.43 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003413/2.701, allocations: 2.719 MB / 1.389 GB, free: 96.68 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001701/2.703, allocations: 390.8 kB / 1.389 GB, free: 96.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001566/2.704, allocations: 1.214 MB / 1.39 GB, free: 95.09 MB / 1.014 GB Notification: Performance of SimCode: time 1.263e-06/2.704, allocations: 0 / 1.39 GB, free: 95.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.252/4.957, allocations: 83.31 MB / 1.472 GB, free: 12.36 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/4.957, allocations: 256.9 kB / 1.472 GB, free: 12.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.782/11.74, allocations: 5.422 kB / 1.472 GB, free: 12.07 MB / 1.014 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches