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.001917/0.001917, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.002501/0.002501, allocations: 211 kB / 20.13 MB, free: 2.969 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.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.889/2.889, allocations: 476.7 MB / 0.7678 GB, free: 9.332 MB / 0.6075 GB " [Timeout remaining time 176] 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.0021/0.0021, allocations: 67.91 kB / 1.113 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9668/0.9689, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01371/0.9827, allocations: 10.25 MB / 1.289 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.006517/0.9892, allocations: 3.234 MB / 1.292 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007987/0.99, allocations: 49 kB / 1.292 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.9917, allocations: 0.6125 MB / 1.293 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.9935, allocations: 0.7769 MB / 1.294 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.9953, allocations: 0.7459 MB / 1.294 GB, free: 1.316 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004251/0.9995, allocations: 2.997 MB / 1.297 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003044/1.003, allocations: 1.956 MB / 1.299 GB, free: 15.29 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002545/1.005, allocations: 1.287 MB / 1.3 GB, free: 14.75 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003668/1.009, allocations: 1.699 MB / 1.302 GB, free: 14.12 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006367/1.009, allocations: 239.1 kB / 1.302 GB, free: 14.12 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/1.011, allocations: 0.5076 MB / 1.303 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001449/1.012, allocations: 1.1 MB / 1.304 GB, free: 13.59 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001624/1.014, allocations: 1.104 MB / 1.305 GB, free: 12.91 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005169/1.019, allocations: 3.7 MB / 1.308 GB, free: 11.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.019, allocations: 1.062 kB / 1.308 GB, free: 11.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.232e-06/1.019, allocations: 0 / 1.308 GB, free: 11.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.002e-05/1.019, allocations: 0 / 1.308 GB, free: 11.75 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.005548/1.025, allocations: 2.195 MB / 1.311 GB, free: 10.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.025, allocations: 9.656 kB / 1.311 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.505e-05/1.025, allocations: 41.36 kB / 1.311 GB, free: 10.4 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004837/1.025, allocations: 262.3 kB / 1.311 GB, free: 10.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/1.035, allocations: 1.335 MB / 1.312 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003636/1.039, allocations: 1.305 MB / 1.314 GB, free: 9.355 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/1.039, allocations: 114 kB / 1.314 GB, free: 9.305 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000564/1.04, allocations: 143.6 kB / 1.314 GB, free: 9.258 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007009/1.047, allocations: 3.443 MB / 1.317 GB, free: 7.227 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.344e-05/1.047, allocations: 2.25 kB / 1.317 GB, free: 7.227 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002703/1.047, allocations: 62.47 kB / 1.317 GB, free: 7.18 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003327/1.047, allocations: 212.3 kB / 1.317 GB, free: 7.109 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005446/1.053, allocations: 3.123 MB / 1.32 GB, free: 5.562 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01976/1.073, allocations: 13.56 MB / 1.334 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/1.075, allocations: 1.611 MB / 1.335 GB, free: 9.828 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/1.077, allocations: 1.329 MB / 1.337 GB, free: 9.184 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/1.078, allocations: 18.66 kB / 1.337 GB, free: 9.172 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/1.078, allocations: 47.22 kB / 1.337 GB, free: 9.121 MB / 1.029 GB Notification: Performance of pre-optimization done (n=104): time 3.296e-06/1.078, allocations: 0 / 1.337 GB, free: 9.121 MB / 1.029 GB Notification: Performance of matching and sorting (n=183): time 0.1691/1.247, allocations: 36.56 MB / 1.372 GB, free: 11.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/1.247, allocations: 69.41 kB / 1.372 GB, free: 11.42 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/1.248, allocations: 1.054 MB / 1.373 GB, free: 10.34 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0004005/1.249, allocations: 57.7 kB / 1.373 GB, free: 10.28 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006635/1.25, allocations: 0.8093 MB / 1.374 GB, free: 9.461 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007844/1.25, allocations: 0.6546 MB / 1.375 GB, free: 8.801 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008946/1.251, allocations: 367.4 kB / 1.375 GB, free: 8.438 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001407/1.251, allocations: 305.1 kB / 1.376 GB, free: 8.137 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003261/1.255, allocations: 1.928 MB / 1.377 GB, free: 6.207 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003609/1.258, allocations: 2.296 MB / 1.38 GB, free: 3.781 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006895/1.265, allocations: 4.388 MB / 1.384 GB, free: 15.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/1.265, allocations: 7.938 kB / 1.384 GB, free: 15.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02308/1.288, allocations: 8.873 MB / 1.393 GB, free: 6.355 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/1.288, allocations: 8 kB / 1.393 GB, free: 6.348 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/1.288, allocations: 8 kB / 1.393 GB, free: 6.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02001/1.308, allocations: 4.98 MB / 1.398 GB, free: 1.344 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/1.309, allocations: 191.7 kB / 1.398 GB, free: 1.156 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0712/1.381, allocations: 38.93 MB / 1.436 GB, free: 9.648 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/1.383, allocations: 99.89 kB / 1.436 GB, free: 9.551 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003377/1.384, allocations: 68 kB / 1.436 GB, free: 9.484 MB / 1.123 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.001779/1.385, allocations: 0.8134 MB / 1.437 GB, free: 8.66 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004241/1.386, allocations: 151 kB / 1.437 GB, free: 8.512 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02406/1.41, allocations: 8.73 MB / 1.445 GB, free: 15.74 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.917e-05/1.41, allocations: 16 kB / 1.445 GB, free: 15.73 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001085/1.41, allocations: 32 kB / 1.445 GB, free: 15.7 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-05/1.41, allocations: 11.97 kB / 1.445 GB, free: 15.68 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03286/1.443, allocations: 13.25 MB / 1.458 GB, free: 2.281 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.867e-05/1.443, allocations: 7.984 kB / 1.458 GB, free: 2.273 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006205/1.444, allocations: 123.8 kB / 1.458 GB, free: 2.152 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01965/1.463, allocations: 4.838 MB / 1.463 GB, free: 13.3 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005479/1.464, allocations: 36 kB / 1.463 GB, free: 13.27 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06726/1.531, allocations: 36.85 MB / 1.499 GB, free: 7.828 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.11e-05/1.531, allocations: 11.88 kB / 1.499 GB, free: 7.816 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02357/1.555, allocations: 8.441 MB / 1.507 GB, free: 15.29 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002102/1.557, allocations: 0.6405 MB / 1.508 GB, free: 14.63 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004429/1.557, allocations: 39.98 kB / 1.508 GB, free: 14.59 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/1.559, allocations: 95.83 kB / 1.508 GB, free: 14.5 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/1.56, allocations: 161.7 kB / 1.508 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/1.56, allocations: 43.94 kB / 1.508 GB, free: 14.3 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001323/1.561, allocations: 0.7382 MB / 1.509 GB, free: 13.55 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.11e-07/1.561, allocations: 0 / 1.509 GB, free: 13.55 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.00458/1.566, allocations: 1.008 MB / 1.51 GB, free: 12.54 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.0236/1.59, allocations: 9.047 MB / 1.519 GB, free: 3.395 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01253/1.602, allocations: 5.747 MB / 1.525 GB, free: 13.6 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.347e-05/1.602, allocations: 4 kB / 1.525 GB, free: 13.6 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.01026/1.612, allocations: 3.78 MB / 1.528 GB, free: 9.766 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/1.614, allocations: 238.3 kB / 1.528 GB, free: 9.531 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07164/1.686, allocations: 30.77 MB / 1.559 GB, free: 10.23 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00261/1.689, allocations: 1.859 MB / 1.56 GB, free: 8.332 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001099/1.69, allocations: 363.4 kB / 1.561 GB, free: 7.973 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008823/1.691, allocations: 0.6047 MB / 1.561 GB, free: 7.367 MB / 1.248 GB Notification: Performance of SimCode: time 1.132e-06/1.691, allocations: 0 / 1.561 GB, free: 7.367 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.145/1.836, allocations: 76.77 MB / 1.636 GB, free: 10.96 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/15.32, allocations: 9.531 kB / 1.636 GB, free: 10.96 MB / 1.326 GB " [Timeout remaining time 285] (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.12559709895868]