Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.808/2.808, allocations: 476.7 MB / 0.7611 GB, free: 15.71 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003175/0.003175, allocations: 67.89 kB / 1.104 GB, free: 6.551 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9203/0.9235, allocations: 168.7 MB / 1.269 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03749/0.961, allocations: 31.25 MB / 1.299 GB, free: 2.531 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02771/0.9887, allocations: 13.7 MB / 1.313 GB, free: 9.031 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00408/0.9927, allocations: 143.4 kB / 1.313 GB, free: 8.984 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01036/1.003, allocations: 3.255 MB / 1.316 GB, free: 7.043 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01034/1.013, allocations: 2.757 MB / 1.319 GB, free: 5.355 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006838/1.02, allocations: 2.016 MB / 1.321 GB, free: 4.234 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01249/1.033, allocations: 7.611 MB / 1.328 GB, free: 0.8164 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01177/1.045, allocations: 6.151 MB / 1.334 GB, free: 14.29 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007714/1.052, allocations: 3.472 MB / 1.337 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00821/1.06, allocations: 3.565 MB / 1.341 GB, free: 11.3 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002758/1.063, allocations: 0.5957 MB / 1.342 GB, free: 11.3 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00611/1.069, allocations: 1.524 MB / 1.343 GB, free: 10.94 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.005209/1.075, allocations: 2.418 MB / 1.345 GB, free: 9.891 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.008557/1.083, allocations: 2.884 MB / 1.348 GB, free: 8.055 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.02084/1.104, allocations: 9.487 MB / 1.357 GB, free: 2.066 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/1.104, allocations: 1.375 kB / 1.357 GB, free: 2.066 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.314e-06/1.104, allocations: 0 / 1.357 GB, free: 2.066 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003347/1.104, allocations: 0 / 1.357 GB, free: 2.066 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01789/1.122, allocations: 5.264 MB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/1.122, allocations: 9.625 kB / 1.363 GB, free: 14.47 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00198/1.124, allocations: 0.622 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007116/1.131, allocations: 1.019 MB / 1.364 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00897/1.14, allocations: 3.097 MB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003058/1.141, allocations: 314.2 kB / 1.368 GB, free: 11.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001459/1.142, allocations: 422.2 kB / 1.368 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01583/1.158, allocations: 6.796 MB / 1.375 GB, free: 6.934 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001518/1.158, allocations: 23.84 kB / 1.375 GB, free: 6.918 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007588/1.159, allocations: 185.1 kB / 1.375 GB, free: 6.781 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008667/1.16, allocations: 372.8 kB / 1.375 GB, free: 6.672 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01189/1.172, allocations: 5.112 MB / 1.38 GB, free: 2.949 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04517/1.217, allocations: 30.58 MB / 1.41 GB, free: 1.609 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002357/1.219, allocations: 1.313 MB / 1.411 GB, free: 292 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/1.221, allocations: 1.246 MB / 1.412 GB, free: 15.04 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.818e-05/1.221, allocations: 13.31 kB / 1.412 GB, free: 15.03 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.365e-05/1.221, allocations: 51.88 kB / 1.413 GB, free: 14.97 MB / 1.107 GB Notification: Performance of pre-optimization done (n=130): time 3.316e-06/1.221, allocations: 0 / 1.413 GB, free: 14.97 MB / 1.107 GB Notification: Performance of matching and sorting (n=199): time 0.09497/1.316, allocations: 23.08 MB / 1.435 GB, free: 7.773 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/1.316, allocations: 73.41 kB / 1.435 GB, free: 7.688 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003503/1.32, allocations: 2.059 MB / 1.437 GB, free: 5.613 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0004209/1.32, allocations: 57.7 kB / 1.437 GB, free: 5.551 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001821/1.322, allocations: 2.066 MB / 1.439 GB, free: 3.465 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/1.323, allocations: 0.7126 MB / 1.44 GB, free: 2.746 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009049/1.324, allocations: 408.4 kB / 1.44 GB, free: 2.34 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.00014/1.324, allocations: 309.1 kB / 1.441 GB, free: 2.035 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002424/1.326, allocations: 1.437 MB / 1.442 GB, free: 0.5938 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003068/1.33, allocations: 2.014 MB / 1.444 GB, free: 14.32 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005688/1.335, allocations: 3.692 MB / 1.448 GB, free: 10.39 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.575e-05/1.335, allocations: 4 kB / 1.448 GB, free: 10.39 MB / 1.139 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01254/1.348, allocations: 5.6 MB / 1.453 GB, free: 4.723 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/1.348, allocations: 16 kB / 1.453 GB, free: 4.707 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.515e-05/1.348, allocations: 16 kB / 1.453 GB, free: 4.691 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00715/1.355, allocations: 2.087 MB / 1.455 GB, free: 2.551 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/1.357, allocations: 383.3 kB / 1.455 GB, free: 2.176 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04644/1.403, allocations: 38.45 MB / 1.493 GB, free: 9.191 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/1.406, allocations: 127.9 kB / 1.493 GB, free: 9.066 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005066/1.407, allocations: 88 kB / 1.493 GB, free: 8.98 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003765/1.41, allocations: 1.509 MB / 1.495 GB, free: 7.461 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000937/1.411, allocations: 298.2 kB / 1.495 GB, free: 7.168 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/1.423, allocations: 5.149 MB / 1.5 GB, free: 1.941 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.061e-05/1.423, allocations: 20 kB / 1.5 GB, free: 1.922 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.824e-05/1.423, allocations: 16 kB / 1.5 GB, free: 1.906 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/1.423, allocations: 11.95 kB / 1.5 GB, free: 1.895 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02034/1.443, allocations: 9.611 MB / 1.509 GB, free: 8.078 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/1.443, allocations: 4 kB / 1.509 GB, free: 8.074 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009492/1.444, allocations: 227.7 kB / 1.51 GB, free: 7.852 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00625/1.45, allocations: 1.826 MB / 1.511 GB, free: 5.969 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003444/1.451, allocations: 44 kB / 1.512 GB, free: 5.926 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04295/1.494, allocations: 37.48 MB / 1.548 GB, free: 13.91 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.111e-05/1.494, allocations: 11.94 kB / 1.548 GB, free: 13.9 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/1.504, allocations: 4.859 MB / 1.553 GB, free: 8.879 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002252/1.506, allocations: 0.624 MB / 1.553 GB, free: 8.234 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000823/1.507, allocations: 43.94 kB / 1.554 GB, free: 8.191 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.508, allocations: 131.8 kB / 1.554 GB, free: 8.062 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006222/1.509, allocations: 189.6 kB / 1.554 GB, free: 7.875 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/1.509, allocations: 56 kB / 1.554 GB, free: 7.82 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002202/1.511, allocations: 1.378 MB / 1.555 GB, free: 6.434 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.01e-07/1.511, allocations: 4 kB / 1.555 GB, free: 6.43 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.004372/1.516, allocations: 1.047 MB / 1.556 GB, free: 5.383 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01045/1.526, allocations: 5.483 MB / 1.562 GB, free: 15.74 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01107/1.537, allocations: 6.01 MB / 1.567 GB, free: 9.496 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/1.537, allocations: 0 / 1.567 GB, free: 9.496 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.007565/1.545, allocations: 4.277 MB / 1.572 GB, free: 4.988 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005207/1.55, allocations: 0.9978 MB / 1.573 GB, free: 4.023 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05646/1.606, allocations: 30.65 MB / 1.603 GB, free: 4.32 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004071/1.61, allocations: 3.124 MB / 1.606 GB, free: 1.16 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001867/1.612, allocations: 0.5237 MB / 1.606 GB, free: 0.6328 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002232/1.615, allocations: 1.671 MB / 1.608 GB, free: 14.96 MB / 1.311 GB Notification: Performance of SimCode: time 1.483e-06/1.615, allocations: 0 / 1.608 GB, free: 14.96 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2246/1.839, allocations: 88.69 MB / 1.694 GB, free: 7.355 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/17.3, allocations: 5.875 kB / 1.694 GB, free: 7.355 MB / 1.389 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.925550425890833]