Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001098/0.001098, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.001218/0.001218, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.8665/0.8665, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.799/1.799, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_RLC_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.155e-05/2.359e-05, allocations: 2.281 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01131/0.01133, allocations: 9.493 MB / 1.01 GB, free: 4 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.005855/0.01719, allocations: 3.127 MB / 1.013 GB, free: 0.8633 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.01829, allocations: 43.69 kB / 1.013 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001572/0.01986, allocations: 0.6088 MB / 1.014 GB, free: 216 kB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.02173, allocations: 0.8004 MB / 1.014 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001702/0.02343, allocations: 0.7484 MB / 1.015 GB, free: 14.66 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.003481/0.02691, allocations: 3.046 MB / 1.018 GB, free: 11.6 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00231/0.02922, allocations: 1.412 MB / 1.019 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00295/0.03217, allocations: 1.731 MB / 1.021 GB, free: 8.41 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002593/0.03476, allocations: 1.563 MB / 1.023 GB, free: 6.844 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0005923/0.03535, allocations: 236 kB / 1.023 GB, free: 6.613 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.03651, allocations: 495.2 kB / 1.023 GB, free: 6.129 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.001317/0.03782, allocations: 1.15 MB / 1.025 GB, free: 4.977 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.001455/0.03928, allocations: 0.7874 MB / 1.025 GB, free: 4.188 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.004565/0.04384, allocations: 3.787 MB / 1.029 GB, free: 400 kB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.04385, allocations: 0 / 1.029 GB, free: 400 kB / 0.9792 GB Notification: Performance of FrontEnd: time 2.044e-06/0.04385, allocations: 0 / 1.029 GB, free: 400 kB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.352e-05/0.04395, allocations: 0 / 1.029 GB, free: 400 kB / 0.9792 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.004879/0.04882, allocations: 2.103 MB / 1.031 GB, free: 14.24 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.04887, allocations: 9.344 kB / 1.031 GB, free: 14.23 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003902/0.04926, allocations: 261.2 kB / 1.031 GB, free: 13.97 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008414/0.05768, allocations: 1.357 MB / 1.033 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/0.06073, allocations: 1.269 MB / 1.034 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.423e-05/0.06082, allocations: 115.3 kB / 1.034 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003675/0.06119, allocations: 144.3 kB / 1.034 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006206/0.0674, allocations: 3.516 MB / 1.038 GB, free: 7.426 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-05/0.06746, allocations: 8.125 kB / 1.038 GB, free: 7.418 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003331/0.06779, allocations: 72.08 kB / 1.038 GB, free: 7.348 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001902/0.06798, allocations: 207.1 kB / 1.038 GB, free: 7.145 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003868/0.07185, allocations: 3.112 MB / 1.041 GB, free: 4.027 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4485/0.5204, allocations: 10.06 MB / 1.051 GB, free: 75.42 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.5218, allocations: 1.603 MB / 1.052 GB, free: 74.9 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.523, allocations: 1.335 MB / 1.054 GB, free: 74.48 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.138e-05/0.523, allocations: 13.47 kB / 1.054 GB, free: 74.48 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.5231, allocations: 40.28 kB / 1.054 GB, free: 74.43 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=104): time 4.318e-06/0.5231, allocations: 0.625 kB / 1.054 GB, free: 74.43 MB / 0.9948 GB Notification: Performance of matching and sorting (n=183): time 0.07531/0.5984, allocations: 36.18 MB / 1.089 GB, free: 69.27 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.5984, allocations: 75.03 kB / 1.089 GB, free: 69.21 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.5995, allocations: 1.082 MB / 1.09 GB, free: 68.77 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.5997, allocations: 56.95 kB / 1.09 GB, free: 68.72 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.6, allocations: 0.8042 MB / 1.091 GB, free: 68.11 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/0.6003, allocations: 0.6459 MB / 1.092 GB, free: 67.59 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004712/0.6008, allocations: 362.3 kB / 1.092 GB, free: 67.44 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.947e-05/0.6008, allocations: 302.9 kB / 1.092 GB, free: 67.14 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/0.6028, allocations: 1.929 MB / 1.094 GB, free: 66.48 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002103/0.6049, allocations: 2.29 MB / 1.096 GB, free: 65.44 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004084/0.6089, allocations: 4.392 MB / 1.101 GB, free: 63.51 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.6089, allocations: 6.562 kB / 1.101 GB, free: 63.51 MB / 0.9948 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01266/0.6216, allocations: 8.88 MB / 1.109 GB, free: 60.91 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.6216, allocations: 9.016 kB / 1.109 GB, free: 60.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.6216, allocations: 9.906 kB / 1.109 GB, free: 60.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009408/0.6311, allocations: 4.963 MB / 1.114 GB, free: 60.04 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.6316, allocations: 194.7 kB / 1.114 GB, free: 59.99 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03021/0.6618, allocations: 38 MB / 1.151 GB, free: 30.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001378/0.6631, allocations: 103.9 kB / 1.152 GB, free: 30.75 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.6633, allocations: 73.53 kB / 1.152 GB, free: 30.68 MB / 0.9948 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.0009884/0.6643, allocations: 0.8018 MB / 1.152 GB, free: 29.87 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.6644, allocations: 147 kB / 1.153 GB, free: 29.72 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009894/0.6743, allocations: 8.741 MB / 1.161 GB, free: 20.95 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.6743, allocations: 23.94 kB / 1.161 GB, free: 20.92 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.657e-05/0.6744, allocations: 28 kB / 1.161 GB, free: 20.89 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.6744, allocations: 11.97 kB / 1.161 GB, free: 20.88 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.6878, allocations: 12.64 MB / 1.173 GB, free: 8.152 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.6878, allocations: 4 kB / 1.173 GB, free: 8.148 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.688, allocations: 119.8 kB / 1.174 GB, free: 8.031 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008062/0.6961, allocations: 4.821 MB / 1.178 GB, free: 3.195 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/0.6962, allocations: 36 kB / 1.178 GB, free: 3.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03299/0.7292, allocations: 35.91 MB / 1.213 GB, free: 14.81 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.7292, allocations: 15.94 kB / 1.213 GB, free: 14.8 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01152/0.7407, allocations: 8.437 MB / 1.222 GB, free: 6.273 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000981/0.7417, allocations: 0.5786 MB / 1.222 GB, free: 5.695 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001937/0.7419, allocations: 45.52 kB / 1.222 GB, free: 5.652 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006715/0.7426, allocations: 87.89 kB / 1.222 GB, free: 5.566 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005856/0.7432, allocations: 181.5 kB / 1.223 GB, free: 5.387 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.471e-05/0.7433, allocations: 44 kB / 1.223 GB, free: 5.344 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.000696/0.744, allocations: 0.7421 MB / 1.223 GB, free: 4.59 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.744, allocations: 0 / 1.223 GB, free: 4.59 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.002161/0.7461, allocations: 1.004 MB / 1.224 GB, free: 3.586 MB / 1.042 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.01152/0.7576, allocations: 9.039 MB / 1.233 GB, free: 10.46 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.006473/0.7641, allocations: 5.732 MB / 1.239 GB, free: 4.691 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.7641, allocations: 0 / 1.239 GB, free: 4.691 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.004607/0.7687, allocations: 3.784 MB / 1.242 GB, free: 0.8672 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009945/0.7697, allocations: 239.2 kB / 1.243 GB, free: 0.6523 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03729/0.807, allocations: 30.88 MB / 1.273 GB, free: 1.25 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/0.8081, allocations: 1.271 MB / 1.274 GB, free: 15.94 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.0005424/0.8087, allocations: 358.8 kB / 1.274 GB, free: 15.59 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005066/0.8092, allocations: 0.6058 MB / 1.275 GB, free: 14.98 MB / 1.104 GB Notification: Performance of SimCode: time 1.172e-06/0.8092, allocations: 0 / 1.275 GB, free: 14.98 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1466/0.9558, allocations: 80.83 MB / 1.354 GB, free: 14.25 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.621/9.577, allocations: 5.984 kB / 1.354 GB, free: 14.24 MB / 1.182 GB " [Timeout remaining time 290] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.059812682680786]