Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001236/0.001236, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001391/0.001391, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.67/2.67, allocations: 476.8 MB / 0.7715 GB, free: 3.949 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.001939/0.001939, allocations: 63.45 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2999, allocations: 170 MB / 1.284 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01282/0.3127, allocations: 9.629 MB / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006074/0.3188, allocations: 3.151 MB / 1.297 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006/0.3194, allocations: 43.69 kB / 1.297 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001628/0.321, allocations: 0.6025 MB / 1.297 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.3225, allocations: 0.7817 MB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001474/0.3239, allocations: 0.7481 MB / 1.299 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003473/0.3274, allocations: 2.992 MB / 1.302 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/0.3295, allocations: 1.423 MB / 1.303 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001902/0.3314, allocations: 1.289 MB / 1.304 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002318/0.3338, allocations: 1.698 MB / 1.306 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003549/0.3341, allocations: 236 kB / 1.306 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009953/0.3351, allocations: 487.4 kB / 1.307 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001145/0.3362, allocations: 1.095 MB / 1.308 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.3374, allocations: 0.9182 MB / 1.309 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003952/0.3413, allocations: 3.708 MB / 1.312 GB, free: 13.8 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.3413, allocations: 7.984 kB / 1.312 GB, free: 13.8 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3413, allocations: 0 / 1.312 GB, free: 13.8 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.69e-05/0.3414, allocations: 0 / 1.312 GB, free: 13.8 MB / 1.014 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.004025/0.3454, allocations: 2.119 MB / 1.314 GB, free: 11.64 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3455, allocations: 8.031 kB / 1.314 GB, free: 11.63 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.192e-05/0.3455, allocations: 47.2 kB / 1.314 GB, free: 11.58 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003542/0.3459, allocations: 257.2 kB / 1.315 GB, free: 11.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008956/0.3548, allocations: 1.326 MB / 1.316 GB, free: 9.992 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/0.3576, allocations: 1.269 MB / 1.317 GB, free: 8.695 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.792e-05/0.3577, allocations: 115.4 kB / 1.317 GB, free: 8.582 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/0.358, allocations: 144.3 kB / 1.317 GB, free: 8.441 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005883/0.3639, allocations: 3.513 MB / 1.321 GB, free: 4.812 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.442e-05/0.3639, allocations: 7.938 kB / 1.321 GB, free: 4.805 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/0.3642, allocations: 67.95 kB / 1.321 GB, free: 4.738 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002995/0.3645, allocations: 203.1 kB / 1.321 GB, free: 4.539 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005293/0.3698, allocations: 3.131 MB / 1.324 GB, free: 1.402 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01637/0.3861, allocations: 10.07 MB / 1.334 GB, free: 7.133 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002598/0.3887, allocations: 1.611 MB / 1.336 GB, free: 5.516 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002001/0.3907, allocations: 1.331 MB / 1.337 GB, free: 4.184 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.474e-05/0.3908, allocations: 13 kB / 1.337 GB, free: 4.172 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.3909, allocations: 43.56 kB / 1.337 GB, free: 4.117 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 3.407e-06/0.3909, allocations: 0 / 1.337 GB, free: 4.117 MB / 1.029 GB Notification: Performance of matching and sorting (n=183): time 0.1406/0.5315, allocations: 36.18 MB / 1.372 GB, free: 15.89 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.5315, allocations: 73.41 kB / 1.372 GB, free: 15.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.5332, allocations: 1.058 MB / 1.373 GB, free: 14.72 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0003712/0.5335, allocations: 53.7 kB / 1.373 GB, free: 14.66 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006991/0.5342, allocations: 0.8093 MB / 1.374 GB, free: 13.84 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008728/0.5351, allocations: 0.6545 MB / 1.375 GB, free: 13.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008595/0.536, allocations: 367.5 kB / 1.375 GB, free: 12.82 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5361, allocations: 301.1 kB / 1.375 GB, free: 12.52 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002948/0.5391, allocations: 1.932 MB / 1.377 GB, free: 10.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003231/0.5423, allocations: 2.289 MB / 1.38 GB, free: 8.168 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006426/0.5487, allocations: 4.387 MB / 1.384 GB, free: 3.66 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.5487, allocations: 15.88 kB / 1.384 GB, free: 3.645 MB / 1.076 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02097/0.5697, allocations: 8.869 MB / 1.393 GB, free: 10.75 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.774e-05/0.5697, allocations: 14.12 kB / 1.393 GB, free: 10.73 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.5698, allocations: 12 kB / 1.393 GB, free: 10.72 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01743/0.5872, allocations: 4.966 MB / 1.397 GB, free: 5.742 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008822/0.5881, allocations: 195.7 kB / 1.398 GB, free: 5.551 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06145/0.6495, allocations: 37.99 MB / 1.435 GB, free: 15.07 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.6514, allocations: 99.89 kB / 1.435 GB, free: 14.98 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002472/0.6516, allocations: 68 kB / 1.435 GB, free: 14.91 MB / 1.139 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.001514/0.6531, allocations: 0.8095 MB / 1.436 GB, free: 14.09 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003946/0.6535, allocations: 147.1 kB / 1.436 GB, free: 13.95 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02009/0.6736, allocations: 8.734 MB / 1.444 GB, free: 5.176 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/0.6736, allocations: 24 kB / 1.444 GB, free: 5.152 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.904e-05/0.6737, allocations: 28 kB / 1.444 GB, free: 5.125 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.673e-05/0.6737, allocations: 7.969 kB / 1.444 GB, free: 5.117 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02716/0.7009, allocations: 12.67 MB / 1.457 GB, free: 8.328 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/0.7009, allocations: 7.984 kB / 1.457 GB, free: 8.32 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005007/0.7014, allocations: 119.8 kB / 1.457 GB, free: 8.203 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01713/0.7185, allocations: 4.819 MB / 1.462 GB, free: 3.371 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002813/0.7188, allocations: 36 kB / 1.462 GB, free: 3.336 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05732/0.7761, allocations: 35.93 MB / 1.497 GB, free: 14.92 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/0.7761, allocations: 7.938 kB / 1.497 GB, free: 14.91 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/0.7957, allocations: 8.444 MB / 1.505 GB, free: 6.383 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/0.7973, allocations: 0.5769 MB / 1.506 GB, free: 5.805 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/0.7976, allocations: 39.98 kB / 1.506 GB, free: 5.766 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.7989, allocations: 91.89 kB / 1.506 GB, free: 5.676 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008986/0.7997, allocations: 169.5 kB / 1.506 GB, free: 5.512 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/0.7999, allocations: 48 kB / 1.506 GB, free: 5.465 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001081/0.801, allocations: 0.7382 MB / 1.507 GB, free: 4.715 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.801, allocations: 0 / 1.507 GB, free: 4.715 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003191/0.8042, allocations: 1.008 MB / 1.508 GB, free: 3.707 MB / 1.201 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.01943/0.8236, allocations: 9.046 MB / 1.516 GB, free: 10.56 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01056/0.8342, allocations: 5.742 MB / 1.522 GB, free: 4.773 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/0.8342, allocations: 0 / 1.522 GB, free: 4.773 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.008332/0.8425, allocations: 3.779 MB / 1.526 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.8441, allocations: 234 kB / 1.526 GB, free: 0.7188 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05968/0.9038, allocations: 30.84 MB / 1.556 GB, free: 1.352 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001684/0.9055, allocations: 1.267 MB / 1.557 GB, free: 48 kB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008919/0.9064, allocations: 359.4 kB / 1.558 GB, free: 15.69 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007883/0.9072, allocations: 0.6047 MB / 1.558 GB, free: 15.09 MB / 1.264 GB Notification: Performance of SimCode: time 1.452e-06/0.9072, allocations: 0 / 1.558 GB, free: 15.09 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7289/1.636, allocations: 80.45 MB / 1.637 GB, free: 298.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/15.92, allocations: 8.062 kB / 1.637 GB, free: 298.1 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.649232547031716]