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.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_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.001249/0.001249, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001259/0.001259, allocations: 195.1 kB / 16.14 MB, free: 6.691 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.213/1.213, 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 11.0.0-master/package.mo): time 2.417/2.417, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 71.33 kB / 0.8985 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2402, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02141/0.2616, allocations: 22.42 MB / 1.074 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.009088/0.2708, allocations: 6.248 MB / 1.08 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.2724, allocations: 83.56 kB / 1.08 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003421/0.2758, allocations: 1.403 MB / 1.082 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003143/0.279, allocations: 1.545 MB / 1.083 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002595/0.2816, allocations: 1.234 MB / 1.084 GB, free: 7.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.007082/0.2887, allocations: 8.849 MB / 1.093 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008147/0.2968, allocations: 6.736 MB / 1.1 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002821/0.2997, allocations: 2.047 MB / 1.102 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003908/0.3036, allocations: 2.964 MB / 1.104 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0009054/0.3045, allocations: 316 kB / 1.105 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002509/0.307, allocations: 1.135 MB / 1.106 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001753/0.3088, allocations: 1.902 MB / 1.108 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.3107, allocations: 2.003 MB / 1.11 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.004992/0.3157, allocations: 7.186 MB / 1.117 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3157, allocations: 0 / 1.117 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3157, allocations: 3.938 kB / 1.117 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.431e-05/0.3158, allocations: 0 / 1.117 GB, free: 5.875 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.005249/0.321, allocations: 3.82 MB / 1.12 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3211, allocations: 12.03 kB / 1.12 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005425/0.3216, allocations: 0.4898 MB / 1.121 GB, free: 1.48 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005344/0.327, allocations: 1.221 MB / 1.122 GB, free: 260 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00303/0.33, allocations: 2.215 MB / 1.124 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.3302, allocations: 242.4 kB / 1.125 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004483/0.3306, allocations: 319.8 kB / 1.125 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007575/0.3382, allocations: 6.212 MB / 1.131 GB, free: 6.961 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.816e-05/0.3383, allocations: 15.88 kB / 1.131 GB, free: 6.945 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003209/0.3386, allocations: 139.9 kB / 1.131 GB, free: 6.809 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004034/0.339, allocations: 410.3 kB / 1.131 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006086/0.3451, allocations: 4.662 MB / 1.136 GB, free: 1.734 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.0234/0.3685, allocations: 29.14 MB / 1.164 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.3702, allocations: 1.418 MB / 1.166 GB, free: 460 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.3719, allocations: 1.481 MB / 1.167 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.372, allocations: 13 kB / 1.167 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.372, allocations: 51.5 kB / 1.167 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 2.936e-06/0.372, allocations: 0 / 1.167 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=179): time 0.1209/0.493, allocations: 37.23 MB / 1.204 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.4931, allocations: 73.34 kB / 1.204 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.4948, allocations: 1.423 MB / 1.205 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002017/0.495, allocations: 57.7 kB / 1.205 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008324/0.4959, allocations: 1.531 MB / 1.207 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004988/0.4964, allocations: 0.6161 MB / 1.207 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006609/0.497, allocations: 383.3 kB / 1.208 GB, free: 5.461 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.211e-05/0.4971, allocations: 305.1 kB / 1.208 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/0.4994, allocations: 1.78 MB / 1.21 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002549/0.5019, allocations: 2.35 MB / 1.212 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005016/0.5069, allocations: 4.391 MB / 1.216 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.507, allocations: 8 kB / 1.216 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01576/0.5227, allocations: 8.559 MB / 1.225 GB, free: 3.531 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.5228, allocations: 12 kB / 1.225 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.5228, allocations: 20 kB / 1.225 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01356/0.5364, allocations: 4.636 MB / 1.229 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009913/0.5374, allocations: 303.4 kB / 1.23 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.541/1.078, allocations: 29.66 MB / 1.258 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/1.08, allocations: 152.1 kB / 1.259 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/1.081, allocations: 84.44 kB / 1.259 GB, free: 169.8 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 {(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.002331/1.083, allocations: 1.327 MB / 1.26 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/1.083, allocations: 204.3 kB / 1.26 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01806/1.101, allocations: 8.447 MB / 1.268 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/1.101, allocations: 17.72 kB / 1.268 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.58e-05/1.102, allocations: 25.47 kB / 1.268 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.687e-05/1.102, allocations: 8.625 kB / 1.268 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02174/1.123, allocations: 12.85 MB / 1.281 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.711e-05/1.123, allocations: 6.688 kB / 1.281 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006257/1.124, allocations: 163.3 kB / 1.281 GB, free: 164.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01282/1.137, allocations: 4.488 MB / 1.286 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/1.137, allocations: 38.75 kB / 1.286 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03246/1.17, allocations: 29.27 MB / 1.314 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.17, allocations: 11.94 kB / 1.314 GB, free: 142.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/1.183, allocations: 8.244 MB / 1.322 GB, free: 134.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.184, allocations: 0.6156 MB / 1.323 GB, free: 133.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003092/1.184, allocations: 36.92 kB / 1.323 GB, free: 133.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/1.185, allocations: 135.8 kB / 1.323 GB, free: 133.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000667/1.186, allocations: 172.9 kB / 1.323 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/1.186, allocations: 55.94 kB / 1.323 GB, free: 133.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009198/1.187, allocations: 0.9548 MB / 1.324 GB, free: 132.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.187, allocations: 0 / 1.324 GB, free: 132.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002636/1.19, allocations: 1.117 MB / 1.325 GB, free: 131.3 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 {(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.01304/1.203, allocations: 8.829 MB / 1.334 GB, free: 122.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00943/1.212, allocations: 6.51 MB / 1.34 GB, free: 115.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/1.212, allocations: 0 / 1.34 GB, free: 115.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007264/1.22, allocations: 4.374 MB / 1.345 GB, free: 111.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/1.222, allocations: 496.5 kB / 1.345 GB, free: 110.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04823/1.27, allocations: 36.72 MB / 1.381 GB, free: 72.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002104/1.272, allocations: 2.725 MB / 1.384 GB, free: 69.74 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009804/1.273, allocations: 385.6 kB / 1.384 GB, free: 69.37 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009259/1.274, allocations: 1.218 MB / 1.385 GB, free: 68.15 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.274, allocations: 3.938 kB / 1.385 GB, free: 68.15 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3004/1.575, allocations: 80.95 MB / 1.464 GB, free: 3.715 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/1.575, allocations: 258.8 kB / 1.464 GB, free: 3.426 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/4.316, allocations: 0 / 1.464 GB, free: 3.426 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