Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001776/0.001776, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002241/0.002241, allocations: 217.8 kB / 23.04 MB, free: 5.078 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.984 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.129/3.129, allocations: 0.49 GB / 0.7959 GB, free: 33.45 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.ACLine_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.001909/0.001909, allocations: 60.72 kB / 1.155 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.325, allocations: 176.1 MB / 1.327 GB, free: 1.922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02624/0.3512, allocations: 21.22 MB / 1.347 GB, free: 12.62 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.3632, allocations: 6.73 MB / 1.354 GB, free: 5.879 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002161/0.3653, allocations: 111.2 kB / 1.354 GB, free: 5.77 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006035/0.3714, allocations: 2.341 MB / 1.356 GB, free: 3.422 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.00366/0.375, allocations: 1.244 MB / 1.358 GB, free: 2.172 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003488/0.3785, allocations: 1.316 MB / 1.359 GB, free: 0.8555 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006757/0.3853, allocations: 4.85 MB / 1.364 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005331/0.3906, allocations: 3.174 MB / 1.367 GB, free: 8.742 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003728/0.3943, allocations: 2.15 MB / 1.369 GB, free: 6.586 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004141/0.3985, allocations: 2.481 MB / 1.371 GB, free: 4.098 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008508/0.3993, allocations: 428 kB / 1.372 GB, free: 3.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002158/0.4015, allocations: 1.022 MB / 1.373 GB, free: 2.656 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00199/0.4035, allocations: 1.711 MB / 1.374 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002818/0.4063, allocations: 1.914 MB / 1.376 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007701/0.414, allocations: 6.534 MB / 1.383 GB, free: 8.465 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.414, allocations: 0 / 1.383 GB, free: 8.465 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.823e-06/0.414, allocations: 0 / 1.383 GB, free: 8.465 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001662/0.4142, allocations: 0 / 1.383 GB, free: 8.465 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007804/0.422, allocations: 3.471 MB / 1.386 GB, free: 4.945 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.422, allocations: 8.031 kB / 1.386 GB, free: 4.938 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.579e-05/0.4221, allocations: 78.16 kB / 1.386 GB, free: 4.859 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007462/0.4228, allocations: 454.6 kB / 1.386 GB, free: 4.402 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004279/0.4271, allocations: 0.6584 MB / 1.387 GB, free: 3.742 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006715/0.4338, allocations: 1.997 MB / 1.389 GB, free: 1.691 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00029/0.4341, allocations: 222.3 kB / 1.389 GB, free: 1.473 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001563/0.4357, allocations: 295.9 kB / 1.39 GB, free: 1.184 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01377/0.4494, allocations: 4.886 MB / 1.394 GB, free: 12.1 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001495/0.4496, allocations: 7.938 kB / 1.394 GB, free: 12.09 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009379/0.4505, allocations: 132 kB / 1.394 GB, free: 11.96 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005506/0.4511, allocations: 237.7 kB / 1.395 GB, free: 11.73 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008258/0.4593, allocations: 3.746 MB / 1.398 GB, free: 7.969 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02757/0.4869, allocations: 21.24 MB / 1.419 GB, free: 0.7305 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.4889, allocations: 1.23 MB / 1.42 GB, free: 15.48 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.4905, allocations: 0.9836 MB / 1.421 GB, free: 14.5 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-05/0.4906, allocations: 13 kB / 1.421 GB, free: 14.49 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.207e-05/0.4907, allocations: 47.56 kB / 1.421 GB, free: 14.43 MB / 1.123 GB Notification: Performance of pre-optimization done (n=107): time 3.266e-06/0.4907, allocations: 0 / 1.421 GB, free: 14.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=138): time 0.02549/0.5162, allocations: 8.432 MB / 1.43 GB, free: 6.008 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.5162, allocations: 68.72 kB / 1.43 GB, free: 5.93 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.518, allocations: 1.13 MB / 1.431 GB, free: 4.793 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001821/0.5182, allocations: 53.7 kB / 1.431 GB, free: 4.734 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.5192, allocations: 1.335 MB / 1.432 GB, free: 3.387 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005537/0.5198, allocations: 0.4996 MB / 1.433 GB, free: 2.883 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005484/0.5203, allocations: 291.5 kB / 1.433 GB, free: 2.59 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5205, allocations: 305.1 kB / 1.433 GB, free: 2.289 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.5219, allocations: 0.9135 MB / 1.434 GB, free: 1.375 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.5237, allocations: 1.326 MB / 1.435 GB, free: 15.88 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003378/0.5271, allocations: 2.426 MB / 1.438 GB, free: 13.29 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.867e-05/0.5271, allocations: 4 kB / 1.438 GB, free: 13.28 MB / 1.139 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00694/0.534, allocations: 3.433 MB / 1.441 GB, free: 9.828 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/0.5341, allocations: 8 kB / 1.441 GB, free: 9.82 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.364e-05/0.5341, allocations: 16.16 kB / 1.441 GB, free: 9.805 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003465/0.5376, allocations: 1.186 MB / 1.442 GB, free: 8.613 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.5386, allocations: 255.6 kB / 1.442 GB, free: 8.363 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02038/0.559, allocations: 13.55 MB / 1.456 GB, free: 10.48 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.5604, allocations: 87.97 kB / 1.456 GB, free: 10.39 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002881/0.5607, allocations: 68 kB / 1.456 GB, free: 10.32 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002162/0.5629, allocations: 1.12 MB / 1.457 GB, free: 9.195 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004376/0.5633, allocations: 170.9 kB / 1.457 GB, free: 9.027 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006162/0.5695, allocations: 3.138 MB / 1.46 GB, free: 5.867 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/0.5695, allocations: 19.94 kB / 1.46 GB, free: 5.848 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-05/0.5695, allocations: 12 kB / 1.46 GB, free: 5.836 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.5695, allocations: 3.984 kB / 1.46 GB, free: 5.832 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/0.5815, allocations: 6.182 MB / 1.466 GB, free: 15.52 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.5815, allocations: 8.562 kB / 1.466 GB, free: 15.51 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006094/0.5821, allocations: 147.8 kB / 1.466 GB, free: 15.36 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003075/0.5852, allocations: 1.067 MB / 1.467 GB, free: 14.29 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/0.5853, allocations: 24 kB / 1.467 GB, free: 14.27 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01889/0.6042, allocations: 13.24 MB / 1.48 GB, free: 0.6836 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.819e-06/0.6042, allocations: 11.94 kB / 1.48 GB, free: 0.6719 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006069/0.6103, allocations: 3.112 MB / 1.483 GB, free: 13.47 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.6113, allocations: 362.8 kB / 1.484 GB, free: 13.12 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004165/0.6117, allocations: 32 kB / 1.484 GB, free: 13.09 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.6128, allocations: 83.89 kB / 1.484 GB, free: 13 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000424/0.6132, allocations: 128.6 kB / 1.484 GB, free: 12.88 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.6134, allocations: 40.36 kB / 1.484 GB, free: 12.84 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001329/0.6147, allocations: 0.7671 MB / 1.485 GB, free: 12.07 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.6147, allocations: 0 / 1.485 GB, free: 12.07 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002493/0.6172, allocations: 0.6562 MB / 1.485 GB, free: 11.41 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006265/0.6234, allocations: 3.717 MB / 1.489 GB, free: 7.602 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005494/0.6289, allocations: 3.017 MB / 1.492 GB, free: 4.547 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/0.6289, allocations: 8.188 kB / 1.492 GB, free: 4.539 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003405/0.6324, allocations: 1.88 MB / 1.494 GB, free: 2.617 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/0.6352, allocations: 0.5001 MB / 1.494 GB, free: 2.133 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03508/0.6703, allocations: 19.18 MB / 1.513 GB, free: 14.36 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003433/0.6737, allocations: 2.336 MB / 1.515 GB, free: 12 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001128/0.6748, allocations: 350.1 kB / 1.516 GB, free: 11.65 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001491/0.6763, allocations: 1.011 MB / 1.517 GB, free: 10.64 MB / 1.217 GB Notification: Performance of SimCode: time 1.042e-06/0.6763, allocations: 4 kB / 1.517 GB, free: 10.63 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1319/0.8083, allocations: 54.21 MB / 1.57 GB, free: 5.078 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.37, allocations: 4.062 kB / 1.57 GB, free: 5.074 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 21.67570257204352]