Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 108.6 kB / 16.4 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 191.7 kB / 19.35 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.16/3.16, allocations: 489 MB / 0.7678 GB, free: 29.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 75.89 kB / 1.101 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8324/0.8345, allocations: 163.8 MB / 1.261 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02963/0.8641, allocations: 23.43 MB / 1.284 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.8771, allocations: 6.484 MB / 1.29 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.879, allocations: 95.56 kB / 1.29 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004038/0.8831, allocations: 1.492 MB / 1.292 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004383/0.8875, allocations: 1.82 MB / 1.294 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003758/0.8913, allocations: 1.457 MB / 1.295 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00903/0.9003, allocations: 6.908 MB / 1.302 GB, free: 13.29 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009256/0.9096, allocations: 6.945 MB / 1.309 GB, free: 6.25 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004548/0.9141, allocations: 2.843 MB / 1.311 GB, free: 3.398 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006336/0.9205, allocations: 3.482 MB / 1.315 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.9217, allocations: 0.5234 MB / 1.315 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.9244, allocations: 1.174 MB / 1.316 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002977/0.9274, allocations: 2.46 MB / 1.319 GB, free: 11.74 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003325/0.9307, allocations: 2.536 MB / 1.321 GB, free: 9.195 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009365/0.9401, allocations: 8.541 MB / 1.33 GB, free: 0.6328 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.9401, allocations: 4 kB / 1.33 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9401, allocations: 0 / 1.33 GB, free: 0.6289 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001815/0.9403, allocations: 0 / 1.33 GB, free: 0.6289 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.009105/0.9494, allocations: 4.539 MB / 1.334 GB, free: 12.01 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.9495, allocations: 12.03 kB / 1.334 GB, free: 12 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000912/0.9504, allocations: 0.5714 MB / 1.335 GB, free: 11.42 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008577/0.959, allocations: 1.711 MB / 1.336 GB, free: 9.703 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00546/0.9645, allocations: 2.705 MB / 1.339 GB, free: 6.945 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002362/0.9647, allocations: 275.7 kB / 1.339 GB, free: 6.676 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008447/0.9656, allocations: 364.3 kB / 1.34 GB, free: 6.32 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0137/0.9793, allocations: 7.49 MB / 1.347 GB, free: 14.56 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.94e-05/0.9794, allocations: 15.88 kB / 1.347 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004542/0.9799, allocations: 155.9 kB / 1.347 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006303/0.9805, allocations: 487.3 kB / 1.347 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01041/0.9909, allocations: 5.693 MB / 1.353 GB, free: 8.215 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0388/1.03, allocations: 31.55 MB / 1.384 GB, free: 5.902 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003316/1.033, allocations: 2.093 MB / 1.386 GB, free: 3.801 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003384/1.037, allocations: 2.178 MB / 1.388 GB, free: 1.621 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/1.037, allocations: 21.31 kB / 1.388 GB, free: 1.598 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/1.037, allocations: 47.88 kB / 1.388 GB, free: 1.543 MB / 1.092 GB Notification: Performance of pre-optimization done (n=146): time 9.568e-06/1.037, allocations: 3.984 kB / 1.388 GB, free: 1.539 MB / 1.092 GB Notification: Performance of matching and sorting (n=251): time 0.329/1.366, allocations: 77.08 MB / 1.463 GB, free: 4.316 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/1.366, allocations: 81.34 kB / 1.463 GB, free: 4.223 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003057/1.369, allocations: 1.674 MB / 1.465 GB, free: 2.504 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005753/1.37, allocations: 65.7 kB / 1.465 GB, free: 2.434 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001543/1.371, allocations: 1.796 MB / 1.467 GB, free: 0.6211 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001344/1.373, allocations: 0.8985 MB / 1.468 GB, free: 15.71 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/1.374, allocations: 481.4 kB / 1.468 GB, free: 15.24 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.374, allocations: 301.1 kB / 1.469 GB, free: 14.94 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004582/1.379, allocations: 2.73 MB / 1.471 GB, free: 12.21 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005115/1.384, allocations: 3.332 MB / 1.474 GB, free: 8.633 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/1.395, allocations: 6.405 MB / 1.481 GB, free: 1.988 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.322e-05/1.395, allocations: 4 kB / 1.481 GB, free: 1.984 MB / 1.186 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03702/1.432, allocations: 14.68 MB / 1.495 GB, free: 3.254 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.011e-05/1.432, allocations: 12.22 kB / 1.495 GB, free: 3.242 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.325e-05/1.432, allocations: 23.94 kB / 1.495 GB, free: 3.219 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03227/1.464, allocations: 9.239 MB / 1.504 GB, free: 9.953 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/1.465, allocations: 295.5 kB / 1.504 GB, free: 9.664 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08997/1.555, allocations: 52.4 MB / 1.556 GB, free: 4.383 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/1.558, allocations: 219.7 kB / 1.556 GB, free: 4.168 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/1.559, allocations: 99.98 kB / 1.556 GB, free: 4.07 MB / 1.264 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00274/1.561, allocations: 1.589 MB / 1.557 GB, free: 2.473 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005591/1.562, allocations: 262.5 kB / 1.558 GB, free: 2.215 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03563/1.598, allocations: 14.75 MB / 1.572 GB, free: 3.402 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-05/1.598, allocations: 24 kB / 1.572 GB, free: 3.379 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001364/1.598, allocations: 44 kB / 1.572 GB, free: 3.336 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.445e-05/1.598, allocations: 11.95 kB / 1.572 GB, free: 3.324 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6635/2.261, allocations: 20.52 MB / 1.592 GB, free: 297.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-05/2.261, allocations: 6.938 kB / 1.592 GB, free: 297.5 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008171/2.262, allocations: 158.4 kB / 1.592 GB, free: 297.5 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03357/2.296, allocations: 9.009 MB / 1.601 GB, free: 297.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004936/2.296, allocations: 46.72 kB / 1.601 GB, free: 297.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06862/2.365, allocations: 51.97 MB / 1.652 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/2.365, allocations: 7.938 kB / 1.652 GB, free: 273.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02829/2.393, allocations: 14.38 MB / 1.666 GB, free: 260.8 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/2.395, allocations: 0.8585 MB / 1.667 GB, free: 259.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004159/2.395, allocations: 58.12 kB / 1.667 GB, free: 259.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/2.397, allocations: 214.4 kB / 1.667 GB, free: 259.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001202/2.399, allocations: 234.6 kB / 1.667 GB, free: 259.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/2.399, allocations: 64 kB / 1.667 GB, free: 259.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00118/2.4, allocations: 1.125 MB / 1.668 GB, free: 258.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.3e-07/2.4, allocations: 0 / 1.668 GB, free: 258.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003812/2.404, allocations: 1.613 MB / 1.67 GB, free: 256.6 MB / 1.295 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02752/2.431, allocations: 14.99 MB / 1.685 GB, free: 241.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01988/2.451, allocations: 10.57 MB / 1.695 GB, free: 230.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/2.451, allocations: 0 / 1.695 GB, free: 230.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01565/2.467, allocations: 7.351 MB / 1.702 GB, free: 223.4 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002599/2.47, allocations: 0.5516 MB / 1.703 GB, free: 222.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0837/2.553, allocations: 50.96 MB / 1.752 GB, free: 170.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002649/2.556, allocations: 3.224 MB / 1.756 GB, free: 167.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009554/2.557, allocations: 395.3 kB / 1.756 GB, free: 167.2 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/2.558, allocations: 1.464 MB / 1.757 GB, free: 165.8 MB / 1.295 GB Notification: Performance of SimCode: time 9.02e-07/2.558, allocations: 4 kB / 1.757 GB, free: 165.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1622/2.72, allocations: 120.9 MB / 1.875 GB, free: 45.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/17.59, allocations: 7.188 kB / 1.875 GB, free: 45.39 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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: 24.382831322960556]