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.001434/0.001434, 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.001723/0.001723, allocations: 196.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.341/1.341, 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 11.0.1-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7346 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 65.14 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2875, allocations: 157.4 MB / 1.053 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02536/0.3129, allocations: 22.59 MB / 1.075 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.3251, allocations: 6.236 MB / 1.081 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002388/0.3276, allocations: 95.5 kB / 1.081 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004323/0.3319, allocations: 1.546 MB / 1.083 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004489/0.3364, allocations: 1.629 MB / 1.084 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.34, allocations: 1.345 MB / 1.086 GB, free: 6.77 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006422/0.3465, allocations: 5.936 MB / 1.091 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008355/0.3548, allocations: 6.096 MB / 1.097 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003663/0.3585, allocations: 2.403 MB / 1.1 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004243/0.3628, allocations: 2.866 MB / 1.102 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.00123/0.364, allocations: 456 kB / 1.103 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/0.3668, allocations: 1.1 MB / 1.104 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.002448/0.3692, allocations: 2.035 MB / 1.106 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.003243/0.3725, allocations: 2.163 MB / 1.108 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007081/0.3796, allocations: 7.253 MB / 1.115 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3796, allocations: 0 / 1.115 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3796, allocations: 0 / 1.115 GB, free: 8.324 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001607/0.3798, allocations: 0 / 1.115 GB, free: 8.324 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.009555/0.3894, allocations: 3.812 MB / 1.119 GB, free: 4.449 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/0.3895, allocations: 12.62 kB / 1.119 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001372/0.3908, allocations: 0.4976 MB / 1.119 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006658/0.3975, allocations: 1.213 MB / 1.121 GB, free: 2.711 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004204/0.4017, allocations: 2.211 MB / 1.123 GB, free: 452 kB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/0.402, allocations: 242.4 kB / 1.123 GB, free: 208 kB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009304/0.4029, allocations: 316 kB / 1.123 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/0.4134, allocations: 6.216 MB / 1.129 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-05/0.4136, allocations: 15.83 kB / 1.129 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005498/0.4141, allocations: 139.9 kB / 1.129 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004751/0.4146, allocations: 406.3 kB / 1.13 GB, free: 8.871 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007962/0.4226, allocations: 4.662 MB / 1.134 GB, free: 4.199 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.03084/0.4534, allocations: 29.14 MB / 1.163 GB, free: 4.348 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.4554, allocations: 1.408 MB / 1.164 GB, free: 2.926 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001815/0.4572, allocations: 1.483 MB / 1.166 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.4574, allocations: 13 kB / 1.166 GB, free: 1.43 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.4574, allocations: 47.5 kB / 1.166 GB, free: 1.371 MB / 0.92 GB Notification: Performance of pre-optimization done (n=110): time 3.206e-06/0.4574, allocations: 0 / 1.166 GB, free: 1.371 MB / 0.92 GB Notification: Performance of matching and sorting (n=179): time 0.1482/0.6056, allocations: 37.23 MB / 1.202 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.6057, allocations: 77.33 kB / 1.202 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.6076, allocations: 1.423 MB / 1.204 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002135/0.6078, allocations: 57.64 kB / 1.204 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008893/0.6087, allocations: 1.542 MB / 1.205 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000573/0.6093, allocations: 0.6084 MB / 1.206 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007286/0.61, allocations: 387.3 kB / 1.206 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.6101, allocations: 301.1 kB / 1.206 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002373/0.6125, allocations: 1.784 MB / 1.208 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002691/0.6152, allocations: 2.354 MB / 1.21 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00545/0.6207, allocations: 4.383 MB / 1.215 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/0.6207, allocations: 8 kB / 1.215 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01793/0.6386, allocations: 8.571 MB / 1.223 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.6387, allocations: 12 kB / 1.223 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.6387, allocations: 20 kB / 1.223 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0147/0.6535, allocations: 4.663 MB / 1.228 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.6546, allocations: 303.5 kB / 1.228 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5175/1.172, allocations: 32.61 MB / 1.26 GB, free: 186.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002202/1.174, allocations: 156.9 kB / 1.26 GB, free: 186.6 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/1.175, allocations: 80.83 kB / 1.26 GB, free: 186.6 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.002173/1.177, allocations: 1.344 MB / 1.261 GB, free: 186.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004071/1.177, allocations: 197.2 kB / 1.262 GB, free: 186.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01667/1.194, allocations: 8.436 MB / 1.27 GB, free: 186.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/1.194, allocations: 18.3 kB / 1.27 GB, free: 186.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.538e-05/1.194, allocations: 29.66 kB / 1.27 GB, free: 186.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-05/1.194, allocations: 8.578 kB / 1.27 GB, free: 186.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02476/1.219, allocations: 12.84 MB / 1.282 GB, free: 185.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/1.219, allocations: 5.562 kB / 1.282 GB, free: 185.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007224/1.22, allocations: 166.8 kB / 1.283 GB, free: 185.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01325/1.233, allocations: 4.52 MB / 1.287 GB, free: 185.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002167/1.233, allocations: 41.59 kB / 1.287 GB, free: 185.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0408/1.274, allocations: 32.21 MB / 1.318 GB, free: 166.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.274, allocations: 15.59 kB / 1.318 GB, free: 166.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/1.289, allocations: 8.239 MB / 1.326 GB, free: 161.9 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001214/1.29, allocations: 0.6194 MB / 1.327 GB, free: 161.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004835/1.29, allocations: 34.89 kB / 1.327 GB, free: 161.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/1.292, allocations: 138.3 kB / 1.327 GB, free: 161.4 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007574/1.293, allocations: 178.6 kB / 1.327 GB, free: 161.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.293, allocations: 48 kB / 1.327 GB, free: 161.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001208/1.294, allocations: 0.9588 MB / 1.328 GB, free: 160.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.294, allocations: 0 / 1.328 GB, free: 160.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002944/1.297, allocations: 1.117 MB / 1.33 GB, free: 159.2 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.01463/1.312, allocations: 8.84 MB / 1.338 GB, free: 150.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01208/1.324, allocations: 7.048 MB / 1.345 GB, free: 143.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.324, allocations: 4.875 kB / 1.345 GB, free: 143.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.008304/1.332, allocations: 4.371 MB / 1.349 GB, free: 138.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/1.335, allocations: 0.5295 MB / 1.35 GB, free: 138.2 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05238/1.387, allocations: 35.22 MB / 1.384 GB, free: 101.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002918/1.39, allocations: 2.715 MB / 1.387 GB, free: 98.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00105/1.391, allocations: 393.1 kB / 1.387 GB, free: 98.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/1.392, allocations: 1.21 MB / 1.388 GB, free: 96.94 MB / 1.014 GB Notification: Performance of SimCode: time 9.22e-07/1.392, allocations: 3.938 kB / 1.388 GB, free: 96.93 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7846/2.177, allocations: 82.84 MB / 1.469 GB, free: 14.62 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/16.78, allocations: 19.23 kB / 1.469 GB, free: 14.61 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