Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001307/0.001307, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001467/0.001467, allocations: 215.2 kB / 22.25 MB, free: 5.262 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.726/2.726, allocations: 476 MB / 0.7699 GB, free: 4.734 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.002098/0.002098, allocations: 67.14 kB / 1.117 GB, free: 41.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3207, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.0152/0.3359, allocations: 10.33 MB / 1.293 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01496/0.3508, allocations: 8.5 MB / 1.301 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/0.3524, allocations: 87.19 kB / 1.301 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004906/0.3573, allocations: 1.67 MB / 1.303 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005362/0.3626, allocations: 1.569 MB / 1.304 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.365, allocations: 0.6796 MB / 1.305 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00388/0.3689, allocations: 2.279 MB / 1.307 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.3712, allocations: 1.139 MB / 1.308 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002497/0.3737, allocations: 1.184 MB / 1.309 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/0.3756, allocations: 0.9295 MB / 1.31 GB, free: 20 kB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005832/0.3762, allocations: 136 kB / 1.31 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.3783, allocations: 0.7369 MB / 1.311 GB, free: 15.15 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009335/0.3792, allocations: 0.5802 MB / 1.312 GB, free: 14.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.3809, allocations: 0.7153 MB / 1.312 GB, free: 13.85 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004579/0.3854, allocations: 2.576 MB / 1.315 GB, free: 11.26 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.3854, allocations: 0 / 1.315 GB, free: 11.26 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3854, allocations: 0 / 1.315 GB, free: 11.26 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.179e-05/0.3855, allocations: 0 / 1.315 GB, free: 11.26 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.004693/0.3902, allocations: 1.991 MB / 1.317 GB, free: 9.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3903, allocations: 8.031 kB / 1.317 GB, free: 9.223 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004765/0.3908, allocations: 190.1 kB / 1.317 GB, free: 9.027 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.4021, allocations: 2.055 MB / 1.319 GB, free: 6.969 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.4054, allocations: 1.126 MB / 1.32 GB, free: 5.793 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.4055, allocations: 86.69 kB / 1.32 GB, free: 5.707 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004925/0.406, allocations: 115.9 kB / 1.32 GB, free: 5.594 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006694/0.4127, allocations: 2.693 MB / 1.323 GB, free: 2.703 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.861e-05/0.4128, allocations: 19.88 kB / 1.323 GB, free: 2.684 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000264/0.413, allocations: 55.92 kB / 1.323 GB, free: 2.629 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003903/0.4134, allocations: 126.1 kB / 1.323 GB, free: 2.504 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007869/0.4213, allocations: 2.541 MB / 1.326 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.4364, allocations: 7.691 MB / 1.333 GB, free: 8.082 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006491/0.4429, allocations: 1.856 MB / 1.335 GB, free: 6.219 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002904/0.4458, allocations: 0.9425 MB / 1.336 GB, free: 5.273 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.463e-05/0.4459, allocations: 12.44 kB / 1.336 GB, free: 5.262 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.4459, allocations: 39 kB / 1.336 GB, free: 5.215 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 2.785e-06/0.4459, allocations: 0 / 1.336 GB, free: 5.215 MB / 1.029 GB Notification: Performance of matching and sorting (n=81): time 0.03284/0.4788, allocations: 9.117 MB / 1.345 GB, free: 12.06 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.4788, allocations: 64 kB / 1.345 GB, free: 11.98 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.4806, allocations: 1.112 MB / 1.346 GB, free: 10.85 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.4808, allocations: 41.7 kB / 1.346 GB, free: 10.8 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006489/0.4814, allocations: 0.7473 MB / 1.347 GB, free: 10.05 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003748/0.4818, allocations: 301.4 kB / 1.347 GB, free: 9.754 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004443/0.4822, allocations: 202.5 kB / 1.347 GB, free: 9.547 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.4824, allocations: 345.9 kB / 1.348 GB, free: 9.203 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003062/0.4855, allocations: 1.079 MB / 1.349 GB, free: 8.125 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003226/0.4887, allocations: 1.317 MB / 1.35 GB, free: 6.715 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006253/0.495, allocations: 2.401 MB / 1.352 GB, free: 4.219 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.495, allocations: 8 kB / 1.352 GB, free: 4.211 MB / 1.045 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009264/0.5042, allocations: 3.281 MB / 1.355 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.5043, allocations: 12.06 kB / 1.355 GB, free: 0.8828 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.5043, allocations: 12 kB / 1.355 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/0.5074, allocations: 0.8497 MB / 1.356 GB, free: 15.99 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001976/0.5094, allocations: 411.2 kB / 1.357 GB, free: 15.59 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/0.5273, allocations: 15.21 MB / 1.372 GB, free: 15.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/0.5297, allocations: 295.5 kB / 1.372 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000234/0.5299, allocations: 55.95 kB / 1.372 GB, free: 15.12 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,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,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.0009227/0.5308, allocations: 403.9 kB / 1.372 GB, free: 14.71 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004427/0.5313, allocations: 147.1 kB / 1.372 GB, free: 14.57 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009296/0.5406, allocations: 3.21 MB / 1.376 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.5406, allocations: 12 kB / 1.376 GB, free: 11.31 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.873e-05/0.5406, allocations: 8 kB / 1.376 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.5406, allocations: 3.984 kB / 1.376 GB, free: 11.3 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/0.5532, allocations: 4.675 MB / 1.38 GB, free: 6.504 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.5532, allocations: 4.062 kB / 1.38 GB, free: 6.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/0.5548, allocations: 351.4 kB / 1.38 GB, free: 6.156 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00278/0.5576, allocations: 0.772 MB / 1.381 GB, free: 5.359 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.5577, allocations: 31.97 kB / 1.381 GB, free: 5.328 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/0.575, allocations: 14.82 MB / 1.396 GB, free: 5.594 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.575, allocations: 7.922 kB / 1.396 GB, free: 5.586 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008548/0.5835, allocations: 3.06 MB / 1.399 GB, free: 2.441 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.5846, allocations: 322.8 kB / 1.399 GB, free: 2.125 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/0.5848, allocations: 20 kB / 1.399 GB, free: 2.105 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/0.5867, allocations: 295.4 kB / 1.399 GB, free: 1.816 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002578/0.587, allocations: 80.45 kB / 1.399 GB, free: 1.738 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-05/0.5871, allocations: 39.97 kB / 1.399 GB, free: 1.699 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001077/0.5882, allocations: 0.7443 MB / 1.4 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5882, allocations: 0 / 1.4 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001555/0.5897, allocations: 440 kB / 1.401 GB, free: 0.5234 MB / 1.092 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,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.008851/0.5986, allocations: 3.644 MB / 1.404 GB, free: 12.79 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.008942/0.6075, allocations: 3.55 MB / 1.408 GB, free: 9.137 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.6075, allocations: 0 / 1.408 GB, free: 9.137 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005275/0.6128, allocations: 2.332 MB / 1.41 GB, free: 6.699 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/0.6152, allocations: 0.5269 MB / 1.41 GB, free: 6.195 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0378/0.653, allocations: 16.25 MB / 1.426 GB, free: 5.508 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.654, allocations: 0.806 MB / 1.427 GB, free: 4.66 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001496/0.6555, allocations: 383.8 kB / 1.427 GB, free: 4.281 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008949/0.6564, allocations: 0.5969 MB / 1.428 GB, free: 3.684 MB / 1.123 GB Notification: Performance of SimCode: time 1.643e-06/0.6564, allocations: 0 / 1.428 GB, free: 3.684 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/0.7678, allocations: 46.14 MB / 1.473 GB, free: 6.43 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.97, allocations: 2.656 kB / 1.473 GB, free: 6.43 MB / 1.17 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.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: 20.570004149340093]