Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001682/0.001682, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00162/0.00162, allocations: 220.4 kB / 22.25 MB, free: 5.105 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 7.801 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.7951 GB, free: 35.58 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_R_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",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.002034/0.002034, allocations: 70.95 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2937/0.2957, allocations: 176.1 MB / 1.326 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04541/0.3411, allocations: 36.44 MB / 1.361 GB, free: 13.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01898/0.3601, allocations: 11.11 MB / 1.372 GB, free: 1.898 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.3632, allocations: 202.5 kB / 1.372 GB, free: 1.699 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01174/0.3749, allocations: 4.385 MB / 1.377 GB, free: 13.3 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006073/0.381, allocations: 2.332 MB / 1.379 GB, free: 10.96 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005405/0.3864, allocations: 2.179 MB / 1.381 GB, free: 8.785 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01178/0.3982, allocations: 9.277 MB / 1.39 GB, free: 15.48 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01062/0.4088, allocations: 6.392 MB / 1.396 GB, free: 8.961 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006744/0.4156, allocations: 4.129 MB / 1.401 GB, free: 4.82 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008282/0.4238, allocations: 4.755 MB / 1.405 GB, free: 52 kB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002071/0.4259, allocations: 0.8243 MB / 1.406 GB, free: 15.22 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003758/0.4297, allocations: 1.502 MB / 1.407 GB, free: 13.72 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003855/0.4335, allocations: 3.235 MB / 1.411 GB, free: 10.48 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.005021/0.4385, allocations: 2.969 MB / 1.413 GB, free: 7.5 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.4522, allocations: 12.41 MB / 1.426 GB, free: 11.05 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.4522, allocations: 0 / 1.426 GB, free: 11.05 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4522, allocations: 4 kB / 1.426 GB, free: 11.05 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003408/0.4525, allocations: 0 / 1.426 GB, free: 11.05 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01503/0.4676, allocations: 6.399 MB / 1.432 GB, free: 4.59 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.4676, allocations: 16.03 kB / 1.432 GB, free: 4.574 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001495/0.4691, allocations: 0.8216 MB / 1.433 GB, free: 3.742 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005296/0.4744, allocations: 1.098 MB / 1.434 GB, free: 2.641 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008705/0.4831, allocations: 3.576 MB / 1.437 GB, free: 15 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003697/0.4835, allocations: 427.7 kB / 1.438 GB, free: 14.58 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.4849, allocations: 0.5433 MB / 1.438 GB, free: 14.04 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01954/0.5044, allocations: 10.28 MB / 1.448 GB, free: 3.203 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001509/0.5046, allocations: 23.81 kB / 1.448 GB, free: 3.18 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008902/0.5055, allocations: 248 kB / 1.448 GB, free: 2.938 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006277/0.5061, allocations: 418.9 kB / 1.449 GB, free: 2.527 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/0.5203, allocations: 7.119 MB / 1.456 GB, free: 11.4 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04012/0.5604, allocations: 26.27 MB / 1.481 GB, free: 496 kB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004571/0.565, allocations: 2.896 MB / 1.484 GB, free: 13.58 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002894/0.5679, allocations: 1.936 MB / 1.486 GB, free: 11.65 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.568, allocations: 22 kB / 1.486 GB, free: 11.63 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.567e-05/0.568, allocations: 56.56 kB / 1.486 GB, free: 11.57 MB / 1.186 GB Notification: Performance of pre-optimization done (n=209): time 4.819e-06/0.568, allocations: 4 kB / 1.486 GB, free: 11.56 MB / 1.186 GB Notification: Performance of matching and sorting (n=212): time 0.02495/0.593, allocations: 10.28 MB / 1.496 GB, free: 1.273 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.5931, allocations: 81.41 kB / 1.496 GB, free: 1.18 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003191/0.5962, allocations: 2.048 MB / 1.498 GB, free: 15.11 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.5964, allocations: 61.7 kB / 1.498 GB, free: 15.04 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.002172/0.5986, allocations: 2.474 MB / 1.501 GB, free: 12.55 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008573/0.5995, allocations: 0.7669 MB / 1.502 GB, free: 11.77 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008164/0.6003, allocations: 481.5 kB / 1.502 GB, free: 11.3 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6004, allocations: 305.1 kB / 1.502 GB, free: 11 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003266/0.6037, allocations: 1.372 MB / 1.504 GB, free: 9.621 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004255/0.608, allocations: 2.108 MB / 1.506 GB, free: 7.195 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008434/0.6164, allocations: 3.766 MB / 1.509 GB, free: 3.117 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-05/0.6164, allocations: 8 kB / 1.509 GB, free: 3.109 MB / 1.201 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.01468/0.6311, allocations: 5.027 MB / 1.514 GB, free: 14.05 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.6311, allocations: 17.72 kB / 1.514 GB, free: 14.04 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.037e-05/0.6312, allocations: 20 kB / 1.514 GB, free: 14.02 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007007/0.6382, allocations: 1.589 MB / 1.516 GB, free: 12.42 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003445/0.6416, allocations: 451.3 kB / 1.516 GB, free: 11.98 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04263/0.6843, allocations: 17.9 MB / 1.534 GB, free: 9.625 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/0.6873, allocations: 147.9 kB / 1.534 GB, free: 9.48 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002478/0.6876, allocations: 108 kB / 1.534 GB, free: 9.375 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00311/0.6907, allocations: 1.941 MB / 1.536 GB, free: 7.422 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005866/0.6913, allocations: 302.2 kB / 1.536 GB, free: 7.125 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007926/0.6992, allocations: 4.392 MB / 1.541 GB, free: 2.703 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.6992, allocations: 20 kB / 1.541 GB, free: 2.684 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.163e-05/0.6993, allocations: 20 kB / 1.541 GB, free: 2.664 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.673e-05/0.6993, allocations: 19.83 kB / 1.541 GB, free: 2.645 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01809/0.7174, allocations: 9.172 MB / 1.55 GB, free: 9.332 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.7174, allocations: 8.25 kB / 1.55 GB, free: 9.324 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.7185, allocations: 239.6 kB / 1.55 GB, free: 9.09 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003624/0.7221, allocations: 1.424 MB / 1.551 GB, free: 7.656 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.7223, allocations: 40 kB / 1.551 GB, free: 7.617 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02442/0.7467, allocations: 17.91 MB / 1.569 GB, free: 5.242 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.7467, allocations: 8 kB / 1.569 GB, free: 5.234 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007701/0.7544, allocations: 4.507 MB / 1.573 GB, free: 0.6406 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/0.7562, allocations: 0.5683 MB / 1.574 GB, free: 72 kB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004156/0.7566, allocations: 51.92 kB / 1.574 GB, free: 20 kB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/0.7578, allocations: 115.9 kB / 1.574 GB, free: 15.91 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005097/0.7584, allocations: 185.5 kB / 1.574 GB, free: 15.73 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/0.7585, allocations: 60 kB / 1.574 GB, free: 15.67 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001932/0.7604, allocations: 1.319 MB / 1.575 GB, free: 14.34 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7604, allocations: 0 / 1.575 GB, free: 14.34 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.00312/0.7636, allocations: 1.141 MB / 1.577 GB, free: 13.2 MB / 1.279 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007683/0.7712, allocations: 5.114 MB / 1.581 GB, free: 7.984 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00762/0.7789, allocations: 4.547 MB / 1.586 GB, free: 3.387 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.7789, allocations: 4 kB / 1.586 GB, free: 3.383 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.004755/0.7836, allocations: 2.801 MB / 1.589 GB, free: 0.5273 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003649/0.7873, allocations: 0.8978 MB / 1.59 GB, free: 15.64 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6624/1.45, allocations: 30.55 MB / 1.619 GB, free: 251.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005038/1.455, allocations: 3.164 MB / 1.622 GB, free: 251 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002205/1.457, allocations: 0.5533 MB / 1.623 GB, free: 251 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001968/1.459, allocations: 1.95 MB / 1.625 GB, free: 249.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.253e-06/1.459, allocations: 2.875 kB / 1.625 GB, free: 249.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2016/1.66, allocations: 91.66 MB / 1.714 GB, free: 177.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/15.88, allocations: 9.75 kB / 1.714 GB, free: 177.9 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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: 23.03958407699247]