Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.002193/0.002193, allocations: 102.5 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.00182/0.00182, 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.617/1.617, allocations: 225.6 MB / 247.8 MB, free: 3.754 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.787/2.787, allocations: 476.7 MB / 0.7611 GB, free: 15.75 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 63.89 kB / 1.104 GB, free: 6.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9174/0.9195, allocations: 168.7 MB / 1.269 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01675/0.9363, allocations: 14.98 MB / 1.283 GB, free: 13.5 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0168/0.9531, allocations: 10.48 MB / 1.294 GB, free: 6.309 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.955, allocations: 54.03 kB / 1.294 GB, free: 6.289 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004708/0.9597, allocations: 1.713 MB / 1.295 GB, free: 5.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006508/0.9662, allocations: 1.853 MB / 1.297 GB, free: 4.195 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002514/0.9687, allocations: 0.7617 MB / 1.298 GB, free: 3.801 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004716/0.9734, allocations: 2.744 MB / 1.301 GB, free: 2.578 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002095/0.9755, allocations: 1.136 MB / 1.302 GB, free: 2.012 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003115/0.9786, allocations: 1.526 MB / 1.303 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/0.9812, allocations: 1.235 MB / 1.304 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003727/0.9816, allocations: 159.6 kB / 1.305 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.9837, allocations: 0.8005 MB / 1.305 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000809/0.9846, allocations: 0.6185 MB / 1.306 GB, free: 436 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.986, allocations: 0.9632 MB / 1.307 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004771/0.9908, allocations: 2.767 MB / 1.31 GB, free: 14.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.9908, allocations: 1.219 kB / 1.31 GB, free: 14.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.804e-06/0.9908, allocations: 0 / 1.31 GB, free: 14.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.468e-05/0.9909, allocations: 3.938 kB / 1.31 GB, free: 14.86 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005552/0.9964, allocations: 2.23 MB / 1.312 GB, free: 13.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.9965, allocations: 9.25 kB / 1.312 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003147/0.9968, allocations: 194.3 kB / 1.312 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/1.008, allocations: 2.123 MB / 1.314 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003734/1.012, allocations: 1.308 MB / 1.315 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.954e-05/1.012, allocations: 89.03 kB / 1.315 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003829/1.013, allocations: 123.2 kB / 1.315 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006315/1.019, allocations: 2.664 MB / 1.318 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.888e-05/1.019, allocations: 11.89 kB / 1.318 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002031/1.019, allocations: 59.19 kB / 1.318 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006376/1.02, allocations: 190.5 kB / 1.318 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007896/1.028, allocations: 2.792 MB / 1.321 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01748/1.045, allocations: 10.47 MB / 1.331 GB, free: 3.285 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006728/1.052, allocations: 2.26 MB / 1.333 GB, free: 2.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003189/1.055, allocations: 1.204 MB / 1.335 GB, free: 1.867 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.548e-05/1.055, allocations: 14.27 kB / 1.335 GB, free: 1.863 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/1.055, allocations: 43.94 kB / 1.335 GB, free: 1.816 MB / 1.029 GB Notification: Performance of pre-optimization done (n=89): time 2.635e-06/1.055, allocations: 0 / 1.335 GB, free: 1.816 MB / 1.029 GB Notification: Performance of matching and sorting (n=153): time 0.06056/1.116, allocations: 16.45 MB / 1.351 GB, free: 9.734 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/1.116, allocations: 67.12 kB / 1.351 GB, free: 9.668 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002057/1.118, allocations: 1.173 MB / 1.352 GB, free: 9.027 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0003929/1.118, allocations: 51.86 kB / 1.352 GB, free: 8.977 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006903/1.119, allocations: 0.7604 MB / 1.353 GB, free: 8.301 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007334/1.12, allocations: 0.5354 MB / 1.353 GB, free: 7.824 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006225/1.12, allocations: 288.7 kB / 1.354 GB, free: 7.664 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001393/1.121, allocations: 305.1 kB / 1.354 GB, free: 7.363 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003667/1.124, allocations: 1.515 MB / 1.355 GB, free: 6.574 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004059/1.128, allocations: 1.777 MB / 1.357 GB, free: 5.48 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008335/1.137, allocations: 3.369 MB / 1.36 GB, free: 3.543 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/1.137, allocations: 2.219 kB / 1.36 GB, free: 3.543 MB / 1.045 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0149/1.152, allocations: 5.218 MB / 1.365 GB, free: 0.668 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/1.152, allocations: 9.281 kB / 1.365 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.152, allocations: 7.688 kB / 1.365 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007093/1.159, allocations: 1.88 MB / 1.367 GB, free: 15.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/1.161, allocations: 411.3 kB / 1.368 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03319/1.194, allocations: 24.17 MB / 1.391 GB, free: 5.758 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/1.197, allocations: 307.6 kB / 1.392 GB, free: 5.457 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/1.197, allocations: 67.91 kB / 1.392 GB, free: 5.391 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001061/1.198, allocations: 462.1 kB / 1.392 GB, free: 4.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000454/1.199, allocations: 186.9 kB / 1.392 GB, free: 4.746 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/1.213, allocations: 5.246 MB / 1.397 GB, free: 15.45 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-05/1.213, allocations: 16 kB / 1.397 GB, free: 15.44 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.302e-05/1.213, allocations: 24 kB / 1.397 GB, free: 15.41 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/1.213, allocations: 7.969 kB / 1.397 GB, free: 15.41 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01872/1.231, allocations: 7.356 MB / 1.405 GB, free: 7.922 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/1.231, allocations: 0 / 1.405 GB, free: 7.922 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/1.233, allocations: 355.4 kB / 1.405 GB, free: 7.574 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006272/1.239, allocations: 1.712 MB / 1.407 GB, free: 5.84 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003336/1.24, allocations: 47.91 kB / 1.407 GB, free: 5.793 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03153/1.271, allocations: 23.33 MB / 1.429 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.271, allocations: 4 kB / 1.429 GB, free: 13.35 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01272/1.284, allocations: 4.837 MB / 1.434 GB, free: 8.43 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/1.286, allocations: 499.7 kB / 1.435 GB, free: 7.922 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003731/1.286, allocations: 32 kB / 1.435 GB, free: 7.891 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002131/1.288, allocations: 315.5 kB / 1.435 GB, free: 7.582 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005345/1.289, allocations: 153 kB / 1.435 GB, free: 7.43 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/1.289, allocations: 55.97 kB / 1.435 GB, free: 7.375 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001192/1.29, allocations: 0.7899 MB / 1.436 GB, free: 6.586 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/1.29, allocations: 0 / 1.436 GB, free: 6.586 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002253/1.292, allocations: 0.6562 MB / 1.437 GB, free: 5.93 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01302/1.305, allocations: 5.417 MB / 1.442 GB, free: 428 kB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01149/1.317, allocations: 4.925 MB / 1.447 GB, free: 11.39 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/1.317, allocations: 0 / 1.447 GB, free: 11.39 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.007355/1.324, allocations: 3.265 MB / 1.45 GB, free: 8.016 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/1.327, allocations: 0.5531 MB / 1.45 GB, free: 7.48 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04904/1.376, allocations: 21.77 MB / 1.472 GB, free: 1.215 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/1.377, allocations: 1.564 MB / 1.473 GB, free: 15.61 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001551/1.379, allocations: 386.4 kB / 1.474 GB, free: 15.23 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/1.38, allocations: 0.6593 MB / 1.474 GB, free: 14.57 MB / 1.17 GB Notification: Performance of SimCode: time 8.71e-07/1.38, allocations: 0 / 1.474 GB, free: 14.57 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2078/1.588, allocations: 59.12 MB / 1.532 GB, free: 4.137 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.66/22.25, allocations: 11.94 kB / 1.532 GB, free: 4.125 MB / 1.217 GB " [Timeout remaining time 278] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 28.63910903921351]