Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007818/0.0007818, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8755/0.8755, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.687/1.687, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.43e-05/1.588e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.007598/0.007614, allocations: 9.484 MB / 1.009 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003616/0.01123, allocations: 2.998 MB / 1.012 GB, free: 0.9609 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.01158, allocations: 47.62 kB / 1.012 GB, free: 0.9141 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.01264, allocations: 0.6978 MB / 1.013 GB, free: 220 kB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0009538/0.0136, allocations: 0.7304 MB / 1.013 GB, free: 15.48 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.0147, allocations: 0.6573 MB / 1.014 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001952/0.01665, allocations: 2.78 MB / 1.017 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/0.01804, allocations: 1.375 MB / 1.018 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001464/0.0195, allocations: 1.583 MB / 1.02 GB, free: 9.027 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.02102, allocations: 1.36 MB / 1.021 GB, free: 7.664 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.0212, allocations: 216 kB / 1.021 GB, free: 7.453 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000551/0.02175, allocations: 475.2 kB / 1.022 GB, free: 6.988 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0005883/0.02234, allocations: 1.044 MB / 1.023 GB, free: 5.941 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0004701/0.02281, allocations: 0.7173 MB / 1.023 GB, free: 5.223 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.02465, allocations: 3.487 MB / 1.027 GB, free: 1.727 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.02465, allocations: 0 / 1.027 GB, free: 1.727 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.313e-06/0.02465, allocations: 0 / 1.027 GB, free: 1.727 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.02467, allocations: 0 / 1.027 GB, free: 1.727 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.002153/0.02682, allocations: 1.903 MB / 1.029 GB, free: 15.79 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.02686, allocations: 16.75 kB / 1.029 GB, free: 15.77 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002101/0.02707, allocations: 248.7 kB / 1.029 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002714/0.02979, allocations: 0.9166 MB / 1.03 GB, free: 14.6 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.03112, allocations: 1.128 MB / 1.031 GB, free: 13.44 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.632e-05/0.03118, allocations: 111.3 kB / 1.031 GB, free: 13.33 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.03136, allocations: 136.4 kB / 1.031 GB, free: 13.2 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.0342, allocations: 3.097 MB / 1.034 GB, free: 9.984 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.03423, allocations: 4.188 kB / 1.034 GB, free: 9.98 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.03435, allocations: 60.11 kB / 1.034 GB, free: 9.922 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/0.03448, allocations: 179 kB / 1.034 GB, free: 9.746 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002684/0.03717, allocations: 2.608 MB / 1.037 GB, free: 7.133 MB / 0.9948 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.008126/0.04529, allocations: 9.315 MB / 1.046 GB, free: 13.58 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00122/0.04651, allocations: 1.225 MB / 1.047 GB, free: 12.34 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008602/0.04737, allocations: 0.98 MB / 1.048 GB, free: 11.36 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.04742, allocations: 12.64 kB / 1.048 GB, free: 11.35 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.04744, allocations: 39.22 kB / 1.048 GB, free: 11.3 MB / 1.01 GB Notification: Performance of pre-optimization done (n=82): time 2.094e-06/0.04745, allocations: 0 / 1.048 GB, free: 11.3 MB / 1.01 GB Notification: Performance of matching and sorting (n=139): time 0.4613/0.5087, allocations: 18.88 MB / 1.067 GB, free: 95.06 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.5088, allocations: 66.88 kB / 1.067 GB, free: 95 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006072/0.5094, allocations: 0.9342 MB / 1.068 GB, free: 94.62 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/0.5095, allocations: 44.67 kB / 1.068 GB, free: 94.58 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.5096, allocations: 0.7529 MB / 1.068 GB, free: 94.09 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.5098, allocations: 0.4996 MB / 1.069 GB, free: 93.72 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002899/0.5101, allocations: 287 kB / 1.069 GB, free: 93.59 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.5102, allocations: 357.7 kB / 1.069 GB, free: 93.26 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009882/0.5111, allocations: 1.334 MB / 1.071 GB, free: 92.82 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.5122, allocations: 1.656 MB / 1.072 GB, free: 92.02 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002098/0.5143, allocations: 3.089 MB / 1.075 GB, free: 90.62 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5143, allocations: 2.75 kB / 1.075 GB, free: 90.62 MB / 1.01 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.005569/0.5199, allocations: 5.564 MB / 1.081 GB, free: 88.87 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.5199, allocations: 11.81 kB / 1.081 GB, free: 88.87 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5199, allocations: 7.875 kB / 1.081 GB, free: 88.87 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004075/0.524, allocations: 2.715 MB / 1.083 GB, free: 88.38 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.5243, allocations: 198 kB / 1.084 GB, free: 88.35 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02046/0.5448, allocations: 24.98 MB / 1.108 GB, free: 75.59 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008133/0.5456, allocations: 98.95 kB / 1.108 GB, free: 75.57 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.315e-05/0.5457, allocations: 56.5 kB / 1.108 GB, free: 75.55 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008734/0.5466, allocations: 0.7389 MB / 1.109 GB, free: 75.19 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.5467, allocations: 122.8 kB / 1.109 GB, free: 75.13 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006583/0.5533, allocations: 5.301 MB / 1.114 GB, free: 73.43 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.5533, allocations: 14.41 kB / 1.114 GB, free: 73.43 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.5533, allocations: 21.12 kB / 1.114 GB, free: 73.42 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.5533, allocations: 7.812 kB / 1.114 GB, free: 73.42 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009446/0.5628, allocations: 8.268 MB / 1.122 GB, free: 70.54 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.5628, allocations: 4.188 kB / 1.122 GB, free: 70.54 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.563, allocations: 120.8 kB / 1.122 GB, free: 70.53 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00458/0.5676, allocations: 2.566 MB / 1.125 GB, free: 70.07 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-05/0.5677, allocations: 36.88 kB / 1.125 GB, free: 70.04 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/0.5865, allocations: 23.45 MB / 1.148 GB, free: 58.05 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.5865, allocations: 4.25 kB / 1.148 GB, free: 58.05 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005702/0.5922, allocations: 5.177 MB / 1.153 GB, free: 55.05 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005182/0.5927, allocations: 427.1 kB / 1.153 GB, free: 54.82 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.5928, allocations: 30.55 kB / 1.153 GB, free: 54.81 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004211/0.5932, allocations: 76.97 kB / 1.153 GB, free: 54.77 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002338/0.5935, allocations: 131.3 kB / 1.154 GB, free: 54.68 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/0.5935, allocations: 35.75 kB / 1.154 GB, free: 54.67 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004729/0.594, allocations: 0.6432 MB / 1.154 GB, free: 54.31 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.594, allocations: 0 / 1.154 GB, free: 54.31 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001637/0.5956, allocations: 0.7217 MB / 1.155 GB, free: 54.25 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005642/0.6013, allocations: 5.746 MB / 1.161 GB, free: 50.7 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003204/0.6045, allocations: 4.072 MB / 1.165 GB, free: 48.3 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6045, allocations: 4 kB / 1.165 GB, free: 48.29 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.002138/0.6066, allocations: 2.608 MB / 1.167 GB, free: 45.64 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006114/0.6072, allocations: 225 kB / 1.167 GB, free: 45.45 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/0.6248, allocations: 21.36 MB / 1.188 GB, free: 23.64 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006891/0.6255, allocations: 1.113 MB / 1.189 GB, free: 22.49 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003652/0.6258, allocations: 333.1 kB / 1.19 GB, free: 22.17 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003472/0.6262, allocations: 0.5316 MB / 1.19 GB, free: 21.64 MB / 1.01 GB Notification: Performance of SimCode: time 8.21e-07/0.6262, allocations: 0 / 1.19 GB, free: 21.64 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06555/0.6917, allocations: 56.07 MB / 1.245 GB, free: 13.97 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.956/8.648, allocations: 6.875 kB / 1.245 GB, free: 13.96 MB / 1.057 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.662119478918612]