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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00111/0.00111, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007151/0.007152, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.14/2.14, allocations: 390.9 MB / 0.6664 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003026, allocations: 15.94 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5786/0.579, allocations: 142.4 MB / 0.9552 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01994/0.5989, allocations: 21.79 MB / 0.9765 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009998/0.609, allocations: 6.191 MB / 0.9825 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001267/0.6103, allocations: 80.03 kB / 0.9826 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008647/0.6112, allocations: 436.9 kB / 0.983 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.6139, allocations: 1.54 MB / 0.9845 GB, free: 320 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.6161, allocations: 1.101 MB / 0.9856 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00765/0.6237, allocations: 8.854 MB / 0.9942 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00921/0.633, allocations: 7.179 MB / 1.001 GB, free: 40 kB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003244/0.6362, allocations: 1.774 MB / 1.003 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003278/0.6395, allocations: 2.593 MB / 1.005 GB, free: 11.66 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0006396/0.6402, allocations: 204 kB / 1.006 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.6424, allocations: 1.026 MB / 1.007 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.001594/0.644, allocations: 1.719 MB / 1.008 GB, free: 8.707 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.6458, allocations: 1.825 MB / 1.01 GB, free: 6.867 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.005644/0.6515, allocations: 6.976 MB / 1.017 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6515, allocations: 0 / 1.017 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6515, allocations: 0 / 1.017 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0001198/0.6516, allocations: 0 / 1.017 GB, free: 15.87 MB / 0.7794 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.005018/0.6566, allocations: 3.064 MB / 1.02 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.6567, allocations: 8.031 kB / 1.02 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006558/0.6573, allocations: 0.5093 MB / 1.02 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005683/0.663, allocations: 1.213 MB / 1.022 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003401/0.6664, allocations: 2.215 MB / 1.024 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.6666, allocations: 246.3 kB / 1.024 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005187/0.6671, allocations: 311.9 kB / 1.024 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008937/0.6761, allocations: 6.216 MB / 1.03 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.365e-05/0.6762, allocations: 19.77 kB / 1.03 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003415/0.6765, allocations: 140 kB / 1.031 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004568/0.677, allocations: 398.3 kB / 1.031 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007024/0.684, allocations: 4.662 MB / 1.035 GB, free: 12.48 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.02697/0.711, allocations: 29.07 MB / 1.064 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.713, allocations: 1.412 MB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/0.7148, allocations: 1.487 MB / 1.067 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.704e-05/0.7149, allocations: 12.98 kB / 1.067 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.715, allocations: 51.5 kB / 1.067 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=110): time 2.655e-06/0.715, allocations: 0 / 1.067 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of matching and sorting (n=179): time 0.138/0.853, allocations: 36.32 MB / 1.102 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.8531, allocations: 81.34 kB / 1.102 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.8548, allocations: 1.419 MB / 1.104 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001766/0.855, allocations: 53.7 kB / 1.104 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008652/0.8559, allocations: 1.535 MB / 1.105 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005011/0.8564, allocations: 0.6161 MB / 1.106 GB, free: 1.57 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.8567, allocations: 161.7 kB / 1.106 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.393e-05/0.8568, allocations: 305.1 kB / 1.106 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002354/0.8591, allocations: 1.784 MB / 1.108 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002685/0.8618, allocations: 2.354 MB / 1.11 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00529/0.8671, allocations: 4.387 MB / 1.115 GB, free: 8.082 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.8672, allocations: 12 kB / 1.115 GB, free: 8.07 MB / 0.8731 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01698/0.8841, allocations: 8.567 MB / 1.123 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.8842, allocations: 12 kB / 1.123 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.343e-05/0.8842, allocations: 24 kB / 1.123 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01432/0.8985, allocations: 4.634 MB / 1.128 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.8997, allocations: 299.5 kB / 1.128 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04119/0.9409, allocations: 29.48 MB / 1.157 GB, free: 12.19 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/0.9428, allocations: 151.8 kB / 1.157 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002405/0.9431, allocations: 84 kB / 1.157 GB, free: 11.96 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.002143/0.9453, allocations: 1.325 MB / 1.158 GB, free: 10.62 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000418/0.9457, allocations: 205.5 kB / 1.158 GB, free: 10.42 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01746/0.9631, allocations: 8.445 MB / 1.167 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.9632, allocations: 16 kB / 1.167 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.898e-05/0.9632, allocations: 28 kB / 1.167 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.9633, allocations: 7.969 kB / 1.167 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02293/0.9862, allocations: 12.85 MB / 1.179 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.9862, allocations: 8 kB / 1.179 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006579/0.9869, allocations: 159.8 kB / 1.179 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01388/1.001, allocations: 4.49 MB / 1.184 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001814/1.001, allocations: 40 kB / 1.184 GB, free: 152 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04055/1.042, allocations: 29.09 MB / 1.212 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.676e-06/1.042, allocations: 15.92 kB / 1.212 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01638/1.058, allocations: 8.236 MB / 1.22 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/1.059, allocations: 0.6157 MB / 1.221 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003626/1.059, allocations: 40.11 kB / 1.221 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.061, allocations: 139.7 kB / 1.221 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000686/1.062, allocations: 176.8 kB / 1.221 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001363/1.062, allocations: 44 kB / 1.221 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001228/1.063, allocations: 0.9627 MB / 1.222 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/1.063, allocations: 0 / 1.222 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002882/1.066, allocations: 1.113 MB / 1.223 GB, free: 6.758 MB / 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.01643/1.082, allocations: 8.837 MB / 1.232 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0117/1.094, allocations: 6.43 MB / 1.238 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/1.094, allocations: 0 / 1.238 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008592/1.103, allocations: 4.3 MB / 1.242 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003698/1.106, allocations: 485.3 kB / 1.243 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4539/1.56, allocations: 36.72 MB / 1.279 GB, free: 274 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/1.563, allocations: 2.72 MB / 1.281 GB, free: 272.9 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001042/1.564, allocations: 393.5 kB / 1.282 GB, free: 272.9 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009857/1.565, allocations: 1.213 MB / 1.283 GB, free: 271.9 MB / 1.014 GB Notification: Performance of SimCode: time 8.01e-07/1.565, allocations: 0 / 1.283 GB, free: 271.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.423/4.988, allocations: 78.74 MB / 1.36 GB, free: 207.5 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/4.988, allocations: 249.9 kB / 1.36 GB, free: 207.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.791/7.779, allocations: 2.531 kB / 1.36 GB, free: 207.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