Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001633/0.001633, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00212/0.00212, allocations: 217.4 kB / 22.25 MB, free: 5.082 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.427/1.427, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.114/3.114, allocations: 0.49 GB / 0.7951 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_RL_N,fileNamePrefix="Buildings_12_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_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",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.002004/0.002004, allocations: 71.62 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3364, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02835/0.3647, allocations: 24.46 MB / 1.35 GB, free: 9.426 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01226/0.377, allocations: 6.703 MB / 1.356 GB, free: 2.703 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002683/0.3797, allocations: 127.1 kB / 1.356 GB, free: 2.578 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004397/0.3841, allocations: 1.563 MB / 1.358 GB, free: 1.012 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005398/0.3895, allocations: 1.933 MB / 1.36 GB, free: 15.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004499/0.394, allocations: 1.508 MB / 1.361 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009162/0.4031, allocations: 6.916 MB / 1.368 GB, free: 6.621 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006613/0.4098, allocations: 3.765 MB / 1.372 GB, free: 2.758 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005065/0.4148, allocations: 2.925 MB / 1.375 GB, free: 15.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006316/0.4211, allocations: 3.731 MB / 1.378 GB, free: 12.08 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001748/0.4229, allocations: 0.5273 MB / 1.379 GB, free: 11.55 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003342/0.4262, allocations: 1.198 MB / 1.38 GB, free: 10.36 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003638/0.4299, allocations: 2.529 MB / 1.382 GB, free: 7.82 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004347/0.4342, allocations: 2.536 MB / 1.385 GB, free: 5.273 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.4443, allocations: 8.542 MB / 1.393 GB, free: 12.7 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.4443, allocations: 3.938 kB / 1.393 GB, free: 12.7 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4443, allocations: 0 / 1.393 GB, free: 12.7 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002438/0.4446, allocations: 4 kB / 1.393 GB, free: 12.7 MB / 1.092 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.01083/0.4554, allocations: 4.472 MB / 1.398 GB, free: 8.168 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.4555, allocations: 8.031 kB / 1.398 GB, free: 8.16 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001059/0.4565, allocations: 0.5714 MB / 1.398 GB, free: 7.578 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008008/0.4645, allocations: 1.699 MB / 1.4 GB, free: 5.875 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006569/0.4711, allocations: 2.664 MB / 1.402 GB, free: 3.168 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.4713, allocations: 283.7 kB / 1.403 GB, free: 2.891 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/0.4724, allocations: 360.3 kB / 1.403 GB, free: 2.539 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01376/0.4862, allocations: 7.49 MB / 1.41 GB, free: 10.78 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.542e-05/0.4863, allocations: 15.86 kB / 1.41 GB, free: 10.77 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004494/0.4867, allocations: 159.9 kB / 1.411 GB, free: 10.61 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005751/0.4873, allocations: 487.3 kB / 1.411 GB, free: 10.13 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01039/0.4977, allocations: 5.701 MB / 1.417 GB, free: 4.426 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03947/0.5372, allocations: 31.27 MB / 1.447 GB, free: 2.371 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/0.5402, allocations: 2.017 MB / 1.449 GB, free: 352 kB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003099/0.5433, allocations: 2.1 MB / 1.451 GB, free: 14.25 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001923/0.5435, allocations: 17.31 kB / 1.451 GB, free: 14.23 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.5435, allocations: 51.88 kB / 1.451 GB, free: 14.17 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 3.646e-06/0.5435, allocations: 0 / 1.451 GB, free: 14.17 MB / 1.154 GB Notification: Performance of matching and sorting (n=251): time 0.281/0.8246, allocations: 76.72 MB / 1.526 GB, free: 1.324 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/0.8246, allocations: 89.27 kB / 1.526 GB, free: 1.223 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002583/0.8272, allocations: 1.666 MB / 1.528 GB, free: 15.51 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004268/0.8276, allocations: 65.7 kB / 1.528 GB, free: 15.44 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.829, allocations: 1.799 MB / 1.53 GB, free: 13.62 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001056/0.83, allocations: 0.8984 MB / 1.531 GB, free: 12.72 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/0.8312, allocations: 481.4 kB / 1.531 GB, free: 12.24 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.8313, allocations: 305.1 kB / 1.531 GB, free: 11.94 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004036/0.8353, allocations: 2.73 MB / 1.534 GB, free: 9.207 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004698/0.84, allocations: 3.332 MB / 1.537 GB, free: 5.625 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009153/0.8492, allocations: 6.397 MB / 1.543 GB, free: 14.98 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.247e-05/0.8492, allocations: 8 kB / 1.543 GB, free: 14.98 MB / 1.248 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0327/0.8819, allocations: 14.4 MB / 1.558 GB, free: 0.5234 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.8819, allocations: 12 kB / 1.558 GB, free: 0.5117 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/0.882, allocations: 23.94 kB / 1.558 GB, free: 500 kB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02917/0.9111, allocations: 9.239 MB / 1.567 GB, free: 7.223 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.9124, allocations: 299.5 kB / 1.567 GB, free: 6.93 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7587/1.671, allocations: 51.77 MB / 1.617 GB, free: 249.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002752/1.674, allocations: 220.7 kB / 1.618 GB, free: 249.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004003/1.674, allocations: 101.7 kB / 1.618 GB, free: 249.5 MB / 1.295 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.003808/1.678, allocations: 1.586 MB / 1.619 GB, free: 248.8 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007451/1.679, allocations: 260.8 kB / 1.62 GB, free: 248.8 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03047/1.709, allocations: 14.48 MB / 1.634 GB, free: 245 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.036e-05/1.709, allocations: 24.94 kB / 1.634 GB, free: 245 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001704/1.71, allocations: 43.66 kB / 1.634 GB, free: 245 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.341e-05/1.71, allocations: 14.83 kB / 1.634 GB, free: 245 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03453/1.744, allocations: 20.2 MB / 1.653 GB, free: 239 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-05/1.744, allocations: 5.625 kB / 1.653 GB, free: 239 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006838/1.745, allocations: 166.6 kB / 1.654 GB, free: 239 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02413/1.769, allocations: 9.004 MB / 1.662 GB, free: 234.7 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003911/1.769, allocations: 47.25 kB / 1.662 GB, free: 234.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05995/1.829, allocations: 51.36 MB / 1.713 GB, free: 184.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.829, allocations: 8 kB / 1.713 GB, free: 184.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02556/1.855, allocations: 14.1 MB / 1.726 GB, free: 170.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002366/1.857, allocations: 0.7845 MB / 1.727 GB, free: 169.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004875/1.858, allocations: 48.5 kB / 1.727 GB, free: 169.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.86, allocations: 211.7 kB / 1.727 GB, free: 169.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001147/1.861, allocations: 257.3 kB / 1.728 GB, free: 169 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001834/1.861, allocations: 66 kB / 1.728 GB, free: 168.9 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001188/1.862, allocations: 1.121 MB / 1.729 GB, free: 167.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.862, allocations: 0 / 1.729 GB, free: 167.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004285/1.866, allocations: 1.617 MB / 1.73 GB, free: 166.2 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.02534/1.892, allocations: 14.71 MB / 1.745 GB, free: 151.3 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01832/1.91, allocations: 10.21 MB / 1.755 GB, free: 141.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/1.91, allocations: 0 / 1.755 GB, free: 141.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.015/1.925, allocations: 7.019 MB / 1.762 GB, free: 134 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/1.928, allocations: 0.5598 MB / 1.762 GB, free: 133.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07924/2.007, allocations: 50.51 MB / 1.811 GB, free: 81.95 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003233/2.011, allocations: 3.228 MB / 1.815 GB, free: 78.68 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0009849/2.012, allocations: 395.3 kB / 1.815 GB, free: 78.29 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/2.013, allocations: 1.464 MB / 1.816 GB, free: 76.83 MB / 1.295 GB Notification: Performance of SimCode: time 1.393e-06/2.013, allocations: 0 / 1.816 GB, free: 76.83 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1877/2.2, allocations: 124.7 MB / 1.938 GB, free: 0.6641 MB / 1.342 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.27/18.47, allocations: 6.469 kB / 1.938 GB, free: 0.6602 MB / 1.342 GB " [Timeout remaining time 281] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 25.528480832930654]