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.00151/0.00151, allocations: 115.4 kB / 17.16 MB, free: 5.895 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.001359/0.001359, allocations: 215 kB / 20.13 MB, free: 2.949 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.461/1.461, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.827/2.827, allocations: 0.49 GB / 0.7923 GB, free: 1.32 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.001993/0.001993, allocations: 71.91 kB / 1.15 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8846/0.8866, allocations: 176.1 MB / 1.321 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01996/0.9066, allocations: 20.59 MB / 1.342 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.9179, allocations: 6.569 MB / 1.348 GB, free: 6.387 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.9205, allocations: 115.2 kB / 1.348 GB, free: 6.332 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.005878/0.9264, allocations: 2.272 MB / 1.35 GB, free: 4.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003931/0.9303, allocations: 1.244 MB / 1.352 GB, free: 4.207 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003627/0.9339, allocations: 1.285 MB / 1.353 GB, free: 3.488 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00669/0.9406, allocations: 4.85 MB / 1.358 GB, free: 1.301 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007319/0.948, allocations: 4.236 MB / 1.362 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004491/0.9524, allocations: 2.144 MB / 1.364 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004937/0.9574, allocations: 2.476 MB / 1.366 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001574/0.959, allocations: 429 kB / 1.367 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003508/0.9625, allocations: 1.029 MB / 1.368 GB, free: 13.38 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003629/0.9661, allocations: 1.711 MB / 1.369 GB, free: 12.65 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.005452/0.9715, allocations: 1.912 MB / 1.371 GB, free: 11.42 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0135/0.985, allocations: 6.534 MB / 1.378 GB, free: 9.348 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.985, allocations: 1.094 kB / 1.378 GB, free: 9.348 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9851, allocations: 0 / 1.378 GB, free: 9.348 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002519/0.9853, allocations: 0 / 1.378 GB, free: 9.348 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.01309/0.9984, allocations: 3.537 MB / 1.381 GB, free: 7.289 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.9984, allocations: 13.61 kB / 1.381 GB, free: 7.285 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001327/0.9986, allocations: 82.81 kB / 1.381 GB, free: 7.273 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001527/1, allocations: 458.2 kB / 1.382 GB, free: 7.02 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004534/1.005, allocations: 0.6451 MB / 1.382 GB, free: 6.824 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005369/1.01, allocations: 2.055 MB / 1.384 GB, free: 5.75 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/1.01, allocations: 226 kB / 1.384 GB, free: 5.645 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/1.011, allocations: 297.1 kB / 1.385 GB, free: 5.543 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01237/1.024, allocations: 4.889 MB / 1.389 GB, free: 3.465 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/1.024, allocations: 14.91 kB / 1.389 GB, free: 3.457 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005282/1.024, allocations: 126.8 kB / 1.39 GB, free: 3.363 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004982/1.025, allocations: 226.4 kB / 1.39 GB, free: 3.34 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008496/1.033, allocations: 3.753 MB / 1.393 GB, free: 2.043 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03242/1.066, allocations: 21.45 MB / 1.414 GB, free: 15.04 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/1.068, allocations: 1.232 MB / 1.416 GB, free: 14.38 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/1.07, allocations: 0.9915 MB / 1.417 GB, free: 13.87 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.168e-05/1.07, allocations: 11.88 kB / 1.417 GB, free: 13.87 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.703e-05/1.07, allocations: 48.19 kB / 1.417 GB, free: 13.82 MB / 1.107 GB Notification: Performance of pre-optimization done (n=107): time 3.276e-06/1.07, allocations: 1.469 kB / 1.417 GB, free: 13.82 MB / 1.107 GB Notification: Performance of matching and sorting (n=138): time 0.0268/1.096, allocations: 8.653 MB / 1.425 GB, free: 9.215 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/1.097, allocations: 66.44 kB / 1.425 GB, free: 9.152 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/1.098, allocations: 1.137 MB / 1.426 GB, free: 8.523 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002269/1.099, allocations: 47.17 kB / 1.426 GB, free: 8.477 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001242/1.1, allocations: 1.335 MB / 1.428 GB, free: 7.301 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000694/1.101, allocations: 0.4971 MB / 1.428 GB, free: 6.859 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006646/1.101, allocations: 291.5 kB / 1.428 GB, free: 6.695 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.101, allocations: 305.1 kB / 1.429 GB, free: 6.395 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/1.103, allocations: 0.9143 MB / 1.43 GB, free: 5.914 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002165/1.105, allocations: 1.325 MB / 1.431 GB, free: 4.91 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003861/1.109, allocations: 2.427 MB / 1.433 GB, free: 3.309 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.657e-05/1.109, allocations: 3.25 kB / 1.433 GB, free: 3.309 MB / 1.107 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007154/1.116, allocations: 3.43 MB / 1.437 GB, free: 1.137 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/1.116, allocations: 11.94 kB / 1.437 GB, free: 1.125 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.434e-05/1.116, allocations: 12 kB / 1.437 GB, free: 1.113 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003658/1.12, allocations: 1.19 MB / 1.438 GB, free: 15.92 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/1.121, allocations: 255.6 kB / 1.438 GB, free: 15.67 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02083/1.142, allocations: 13.86 MB / 1.452 GB, free: 1.395 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/1.144, allocations: 87.97 kB / 1.452 GB, free: 1.309 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/1.144, allocations: 64 kB / 1.452 GB, free: 1.246 MB / 1.123 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.002378/1.146, allocations: 1.118 MB / 1.453 GB, free: 120 kB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004919/1.147, allocations: 171 kB / 1.453 GB, free: 15.95 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006639/1.153, allocations: 3.13 MB / 1.456 GB, free: 12.8 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/1.153, allocations: 19.94 kB / 1.456 GB, free: 12.78 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-05/1.153, allocations: 12 kB / 1.456 GB, free: 12.77 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-05/1.153, allocations: 7.969 kB / 1.456 GB, free: 12.76 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/1.172, allocations: 6.206 MB / 1.462 GB, free: 6.414 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/1.172, allocations: 7.984 kB / 1.462 GB, free: 6.406 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/1.173, allocations: 147.8 kB / 1.462 GB, free: 6.262 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003836/1.177, allocations: 1.068 MB / 1.463 GB, free: 5.188 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/1.177, allocations: 28 kB / 1.463 GB, free: 5.16 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02/1.197, allocations: 13.55 MB / 1.477 GB, free: 7.188 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.197, allocations: 8 kB / 1.477 GB, free: 7.18 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006203/1.203, allocations: 3.116 MB / 1.48 GB, free: 3.98 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/1.204, allocations: 435.9 kB / 1.48 GB, free: 3.535 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004763/1.205, allocations: 27.98 kB / 1.48 GB, free: 3.508 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/1.206, allocations: 83.91 kB / 1.48 GB, free: 3.426 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004425/1.206, allocations: 124.7 kB / 1.48 GB, free: 3.305 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/1.206, allocations: 40 kB / 1.48 GB, free: 3.266 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001296/1.208, allocations: 0.7671 MB / 1.481 GB, free: 2.496 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.208, allocations: 0 / 1.481 GB, free: 2.496 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.00318/1.211, allocations: 0.6562 MB / 1.482 GB, free: 1.84 MB / 1.154 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.006703/1.218, allocations: 3.706 MB / 1.485 GB, free: 14.04 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.006211/1.224, allocations: 3.021 MB / 1.488 GB, free: 10.98 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/1.224, allocations: 4 kB / 1.488 GB, free: 10.97 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004008/1.228, allocations: 1.881 MB / 1.49 GB, free: 9.059 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003246/1.231, allocations: 0.4931 MB / 1.491 GB, free: 8.578 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04185/1.273, allocations: 19.13 MB / 1.509 GB, free: 4.863 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003327/1.276, allocations: 2.336 MB / 1.511 GB, free: 2.496 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001146/1.277, allocations: 350.1 kB / 1.512 GB, free: 2.148 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001578/1.279, allocations: 1.011 MB / 1.513 GB, free: 1.137 MB / 1.186 GB Notification: Performance of SimCode: time 1.243e-06/1.279, allocations: 0 / 1.513 GB, free: 1.137 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1194/1.398, allocations: 52.7 MB / 1.564 GB, free: 13.14 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.25/14.65, allocations: 7.922 kB / 1.564 GB, free: 13.13 MB / 1.248 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.625469483959023]