Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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,fileNamePrefix="Buildings_9_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_9_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.001351/0.001351, allocations: 108 kB / 15.6 MB, free: 132 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.001408/0.001408, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 63.91 kB / 0.8127 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5663/0.568, allocations: 140.4 MB / 0.9497 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02217/0.5902, allocations: 22.59 MB / 0.9718 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01034/0.6005, allocations: 6.237 MB / 0.9779 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.6019, allocations: 96.59 kB / 0.978 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003559/0.6055, allocations: 1.55 MB / 0.9795 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003523/0.609, allocations: 1.622 MB / 0.9811 GB, free: 148 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002908/0.6119, allocations: 1.347 MB / 0.9824 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005751/0.6177, allocations: 5.942 MB / 0.9882 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006193/0.6239, allocations: 6.105 MB / 0.9941 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.6269, allocations: 2.403 MB / 0.9965 GB, free: 1.703 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/0.63, allocations: 2.87 MB / 0.9993 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006024/0.6306, allocations: 456 kB / 0.9997 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.6326, allocations: 1.096 MB / 1.001 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.00165/0.6343, allocations: 2.027 MB / 1.003 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.002006/0.6363, allocations: 2.163 MB / 1.005 GB, free: 9.078 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005915/0.6422, allocations: 7.253 MB / 1.012 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.6422, allocations: 0 / 1.012 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6422, allocations: 0 / 1.012 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.716e-05/0.6423, allocations: 0 / 1.012 GB, free: 1.805 MB / 0.7637 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.00603/0.6484, allocations: 3.809 MB / 1.016 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.6484, allocations: 12.03 kB / 1.016 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000616/0.649, allocations: 0.5014 MB / 1.016 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005811/0.6549, allocations: 1.21 MB / 1.017 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/0.6585, allocations: 2.219 MB / 1.02 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.6586, allocations: 238.4 kB / 1.02 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006051/0.6593, allocations: 315.9 kB / 1.02 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009308/0.6686, allocations: 6.22 MB / 1.026 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.394e-05/0.6687, allocations: 15.84 kB / 1.026 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003912/0.6691, allocations: 143.9 kB / 1.026 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004568/0.6695, allocations: 406.3 kB / 1.027 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007391/0.6769, allocations: 4.662 MB / 1.031 GB, free: 13.67 MB / 0.795 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.02798/0.7049, allocations: 29.13 MB / 1.06 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.7069, allocations: 1.418 MB / 1.061 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.7086, allocations: 1.48 MB / 1.063 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.023e-05/0.7087, allocations: 9 kB / 1.063 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.7088, allocations: 55.48 kB / 1.063 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 2.375e-06/0.7088, allocations: 0 / 1.063 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=179): time 0.1509/0.8597, allocations: 37.23 MB / 1.099 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.8598, allocations: 77.33 kB / 1.099 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.8617, allocations: 1.419 MB / 1.1 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002153/0.862, allocations: 61.64 kB / 1.1 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009004/0.8629, allocations: 1.538 MB / 1.102 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005665/0.8635, allocations: 0.6084 MB / 1.103 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007507/0.8642, allocations: 379.4 kB / 1.103 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.8643, allocations: 305.1 kB / 1.103 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002432/0.8667, allocations: 1.788 MB / 1.105 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002764/0.8695, allocations: 2.35 MB / 1.107 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005572/0.8751, allocations: 4.383 MB / 1.112 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.8751, allocations: 4 kB / 1.112 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01763/0.8928, allocations: 8.575 MB / 1.12 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.8928, allocations: 12 kB / 1.12 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.8928, allocations: 20 kB / 1.12 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01456/0.9074, allocations: 4.664 MB / 1.124 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.9086, allocations: 299.5 kB / 1.125 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04671/0.9553, allocations: 32.62 MB / 1.157 GB, free: 8.977 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.9575, allocations: 151.8 kB / 1.157 GB, free: 8.828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000281/0.9578, allocations: 80 kB / 1.157 GB, free: 8.75 MB / 0.92 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.002084/0.9599, allocations: 1.34 MB / 1.158 GB, free: 7.398 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004627/0.9603, allocations: 193.7 kB / 1.158 GB, free: 7.207 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/0.9777, allocations: 8.433 MB / 1.167 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/0.9777, allocations: 16 kB / 1.167 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-05/0.9778, allocations: 27.94 kB / 1.167 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.899e-05/0.9778, allocations: 7.969 kB / 1.167 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02447/1.002, allocations: 12.85 MB / 1.179 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-05/1.002, allocations: 8 kB / 1.179 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007418/1.003, allocations: 160.7 kB / 1.179 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01463/1.018, allocations: 4.53 MB / 1.184 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002817/1.018, allocations: 36 kB / 1.184 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04651/1.065, allocations: 32.21 MB / 1.215 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/1.065, allocations: 15.94 kB / 1.215 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01707/1.082, allocations: 8.233 MB / 1.223 GB, free: 3.477 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/1.083, allocations: 0.6196 MB / 1.224 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005218/1.084, allocations: 39.88 kB / 1.224 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/1.085, allocations: 139.8 kB / 1.224 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008002/1.086, allocations: 168.8 kB / 1.224 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/1.086, allocations: 52 kB / 1.224 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001419/1.088, allocations: 0.9548 MB / 1.225 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/1.088, allocations: 0 / 1.225 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00334/1.091, allocations: 1.121 MB / 1.226 GB, free: 384 kB / 0.9825 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.01739/1.109, allocations: 8.844 MB / 1.235 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01395/1.123, allocations: 7.074 MB / 1.242 GB, free: 248 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.123, allocations: 0.875 kB / 1.242 GB, free: 248 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.009808/1.132, allocations: 4.354 MB / 1.246 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.136, allocations: 0.5282 MB / 1.247 GB, free: 11.29 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4852/1.621, allocations: 35.2 MB / 1.281 GB, free: 275 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002759/1.624, allocations: 2.722 MB / 1.284 GB, free: 273.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001015/1.625, allocations: 388.3 kB / 1.284 GB, free: 273.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009469/1.626, allocations: 1.22 MB / 1.285 GB, free: 272.3 MB / 1.014 GB Notification: Performance of SimCode: time 6.31e-07/1.626, allocations: 0 / 1.285 GB, free: 272.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5169/2.142, allocations: 82.83 MB / 1.366 GB, free: 200.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/12.37, allocations: 6.5 kB / 1.366 GB, free: 200.2 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches