Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.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.00177/0.00177, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 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.002158/0.002158, allocations: 209.6 kB / 20.13 MB, free: 3.035 MB / 14.72 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 1.473/1.473, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] 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 3.008/3.008, allocations: 0.5003 GB / 0.8026 GB, free: 6.723 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 59.91 kB / 1.165 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9047/0.9067, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01083/0.9176, allocations: 10.25 MB / 1.35 GB, free: 9.238 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005324/0.9229, allocations: 3.234 MB / 1.353 GB, free: 7.031 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007863/0.9237, allocations: 49.53 kB / 1.353 GB, free: 7.008 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.9253, allocations: 0.6173 MB / 1.354 GB, free: 6.648 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.927, allocations: 0.7732 MB / 1.355 GB, free: 6.203 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.9288, allocations: 0.7407 MB / 1.355 GB, free: 5.836 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003701/0.9325, allocations: 2.995 MB / 1.358 GB, free: 4.582 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002658/0.9352, allocations: 1.964 MB / 1.36 GB, free: 3.816 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.9376, allocations: 1.29 MB / 1.362 GB, free: 3.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/0.9403, allocations: 1.702 MB / 1.363 GB, free: 2.637 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000542/0.9408, allocations: 235.8 kB / 1.363 GB, free: 2.637 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.9421, allocations: 0.4991 MB / 1.364 GB, free: 2.543 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.9435, allocations: 1.097 MB / 1.365 GB, free: 2.121 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.945, allocations: 1.12 MB / 1.366 GB, free: 1.422 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.004741/0.9497, allocations: 3.696 MB / 1.37 GB, free: 276 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.9497, allocations: 0 / 1.37 GB, free: 276 kB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9497, allocations: 1.406 kB / 1.37 GB, free: 276 kB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001008/0.9498, allocations: 0 / 1.37 GB, free: 276 kB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.006262/0.9561, allocations: 2.19 MB / 1.372 GB, free: 14.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.9562, allocations: 13.44 kB / 1.372 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.189e-05/0.9562, allocations: 41.95 kB / 1.372 GB, free: 14.92 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006384/0.9569, allocations: 262.1 kB / 1.372 GB, free: 14.77 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.967, allocations: 1.319 MB / 1.373 GB, free: 14.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003459/0.9705, allocations: 1.314 MB / 1.375 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.9706, allocations: 111.6 kB / 1.375 GB, free: 13.82 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004887/0.9711, allocations: 152.7 kB / 1.375 GB, free: 13.77 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006589/0.9777, allocations: 3.431 MB / 1.378 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-05/0.9777, allocations: 6.625 kB / 1.378 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002629/0.978, allocations: 70.61 kB / 1.378 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003028/0.9783, allocations: 201.7 kB / 1.379 GB, free: 12.39 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006041/0.9843, allocations: 3.128 MB / 1.382 GB, free: 11.38 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02191/1.006, allocations: 13.56 MB / 1.395 GB, free: 1.887 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/1.009, allocations: 1.614 MB / 1.396 GB, free: 1.086 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/1.011, allocations: 1.332 MB / 1.398 GB, free: 448 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001108/1.011, allocations: 11.59 kB / 1.398 GB, free: 448 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/1.011, allocations: 47.58 kB / 1.398 GB, free: 396 kB / 1.076 GB Notification: Performance of pre-optimization done (n=104): time 2.745e-06/1.011, allocations: 0 / 1.398 GB, free: 396 kB / 1.076 GB Notification: Performance of matching and sorting (n=183): time 0.1622/1.173, allocations: 36.57 MB / 1.434 GB, free: 7.844 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/1.173, allocations: 69.41 kB / 1.434 GB, free: 7.766 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/1.175, allocations: 1.05 MB / 1.435 GB, free: 6.691 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0005009/1.175, allocations: 49.7 kB / 1.435 GB, free: 6.637 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006677/1.176, allocations: 0.8208 MB / 1.435 GB, free: 5.809 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009443/1.177, allocations: 0.6506 MB / 1.436 GB, free: 5.152 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009211/1.178, allocations: 367.5 kB / 1.436 GB, free: 4.785 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.178, allocations: 301.1 kB / 1.437 GB, free: 4.488 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003215/1.181, allocations: 1.928 MB / 1.439 GB, free: 2.559 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003514/1.185, allocations: 2.289 MB / 1.441 GB, free: 152 kB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006753/1.192, allocations: 4.39 MB / 1.445 GB, free: 11.63 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.355e-05/1.192, allocations: 7.938 kB / 1.445 GB, free: 11.62 MB / 1.123 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02278/1.214, allocations: 8.875 MB / 1.454 GB, free: 2.723 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/1.214, allocations: 8.656 kB / 1.454 GB, free: 2.715 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/1.214, allocations: 8 kB / 1.454 GB, free: 2.707 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01917/1.234, allocations: 4.981 MB / 1.459 GB, free: 13.71 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/1.235, allocations: 191.7 kB / 1.459 GB, free: 13.52 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06584/1.301, allocations: 38.93 MB / 1.497 GB, free: 6.016 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002554/1.303, allocations: 103.9 kB / 1.497 GB, free: 5.914 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003121/1.303, allocations: 75.92 kB / 1.497 GB, free: 5.84 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001815/1.305, allocations: 0.8056 MB / 1.498 GB, free: 5.023 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004485/1.306, allocations: 143.1 kB / 1.498 GB, free: 4.883 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02191/1.328, allocations: 8.738 MB / 1.507 GB, free: 12.11 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/1.328, allocations: 16 kB / 1.507 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-05/1.328, allocations: 36 kB / 1.507 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.982e-05/1.328, allocations: 7.969 kB / 1.507 GB, free: 12.05 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02976/1.357, allocations: 13.26 MB / 1.52 GB, free: 14.62 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/1.357, allocations: 4 kB / 1.52 GB, free: 14.62 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005764/1.358, allocations: 119.8 kB / 1.52 GB, free: 14.5 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0186/1.377, allocations: 4.838 MB / 1.524 GB, free: 9.652 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004602/1.377, allocations: 36 kB / 1.524 GB, free: 9.617 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06075/1.438, allocations: 36.85 MB / 1.56 GB, free: 4.18 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/1.438, allocations: 4 kB / 1.56 GB, free: 4.176 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02121/1.459, allocations: 8.46 MB / 1.569 GB, free: 11.62 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/1.461, allocations: 0.6405 MB / 1.569 GB, free: 10.96 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004158/1.461, allocations: 32 kB / 1.569 GB, free: 10.93 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/1.463, allocations: 91.89 kB / 1.569 GB, free: 10.84 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008851/1.464, allocations: 165.6 kB / 1.57 GB, free: 10.68 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.464, allocations: 44 kB / 1.57 GB, free: 10.64 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001173/1.465, allocations: 0.7382 MB / 1.57 GB, free: 9.887 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/1.465, allocations: 0 / 1.57 GB, free: 9.887 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003832/1.469, allocations: 1.004 MB / 1.571 GB, free: 8.883 MB / 1.248 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02138/1.49, allocations: 9.054 MB / 1.58 GB, free: 15.73 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01129/1.501, allocations: 5.729 MB / 1.586 GB, free: 9.953 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.501, allocations: 4.188 kB / 1.586 GB, free: 9.949 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.009442/1.511, allocations: 3.779 MB / 1.589 GB, free: 6.125 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/1.513, allocations: 249 kB / 1.59 GB, free: 5.887 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06642/1.579, allocations: 30.77 MB / 1.62 GB, free: 6.582 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002067/1.581, allocations: 1.859 MB / 1.622 GB, free: 4.684 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009343/1.582, allocations: 359.4 kB / 1.622 GB, free: 4.328 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008512/1.583, allocations: 0.6008 MB / 1.622 GB, free: 3.727 MB / 1.295 GB Notification: Performance of SimCode: time 1.192e-06/1.583, allocations: 4 kB / 1.622 GB, free: 3.723 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1394/1.722, allocations: 76.77 MB / 1.697 GB, free: 7.297 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.94, allocations: 4.062 kB / 1.697 GB, free: 7.293 MB / 1.373 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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: 21.810149428027216]