Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001465/0.001465, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001696/0.001696, allocations: 214.8 kB / 23.04 MB, free: 5.07 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.2/3.2, allocations: 0.49 GB / 0.7959 GB, free: 33.47 MB / 0.6231 GB " [Timeout remaining time 176] 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.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.002065/0.002065, allocations: 62.61 kB / 1.155 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3472, allocations: 176.1 MB / 1.327 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01423/0.3615, allocations: 11.32 MB / 1.338 GB, free: 6.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01425/0.3757, allocations: 9.157 MB / 1.347 GB, free: 13.39 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001775/0.3775, allocations: 75.31 kB / 1.347 GB, free: 13.31 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00507/0.3826, allocations: 1.75 MB / 1.348 GB, free: 11.56 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005218/0.3878, allocations: 1.567 MB / 1.35 GB, free: 9.988 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.3901, allocations: 0.6821 MB / 1.351 GB, free: 9.305 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004439/0.3945, allocations: 2.283 MB / 1.353 GB, free: 7.012 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002205/0.3967, allocations: 1.16 MB / 1.354 GB, free: 5.812 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002371/0.3991, allocations: 1.036 MB / 1.355 GB, free: 4.773 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.4014, allocations: 1.066 MB / 1.356 GB, free: 3.703 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004192/0.4018, allocations: 136 kB / 1.356 GB, free: 3.57 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.404, allocations: 0.8188 MB / 1.357 GB, free: 2.75 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007645/0.4047, allocations: 0.5841 MB / 1.358 GB, free: 2.164 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.406, allocations: 0.8861 MB / 1.358 GB, free: 1.273 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.004118/0.4102, allocations: 2.58 MB / 1.361 GB, free: 14.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4102, allocations: 0 / 1.361 GB, free: 14.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.933e-06/0.4102, allocations: 0 / 1.361 GB, free: 14.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.273e-05/0.4102, allocations: 0 / 1.361 GB, free: 14.68 MB / 1.061 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.004238/0.4145, allocations: 1.995 MB / 1.363 GB, free: 12.65 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.4145, allocations: 12.03 kB / 1.363 GB, free: 12.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.888e-05/0.4146, allocations: 30.52 kB / 1.363 GB, free: 12.61 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002575/0.4148, allocations: 190.1 kB / 1.363 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01134/0.4262, allocations: 2.063 MB / 1.365 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002739/0.4289, allocations: 1.133 MB / 1.366 GB, free: 9.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.711e-05/0.429, allocations: 90.44 kB / 1.366 GB, free: 9.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003434/0.4294, allocations: 116 kB / 1.366 GB, free: 8.957 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006122/0.4355, allocations: 2.478 MB / 1.369 GB, free: 6.328 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-05/0.4355, allocations: 7.953 kB / 1.369 GB, free: 6.32 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.4357, allocations: 55.98 kB / 1.369 GB, free: 6.266 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003636/0.4361, allocations: 126.1 kB / 1.369 GB, free: 6.141 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007743/0.4438, allocations: 2.545 MB / 1.372 GB, free: 3.586 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0148/0.4586, allocations: 9.914 MB / 1.381 GB, free: 9.027 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006471/0.4651, allocations: 1.852 MB / 1.383 GB, free: 7.164 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002924/0.468, allocations: 0.9386 MB / 1.384 GB, free: 6.223 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.393e-05/0.468, allocations: 8.438 kB / 1.384 GB, free: 6.215 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.4681, allocations: 42.94 kB / 1.384 GB, free: 6.164 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 2.414e-06/0.4681, allocations: 0 / 1.384 GB, free: 6.164 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03215/0.5002, allocations: 8.642 MB / 1.392 GB, free: 13.48 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.5003, allocations: 64 kB / 1.392 GB, free: 13.4 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.5019, allocations: 1.105 MB / 1.394 GB, free: 12.28 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/0.5021, allocations: 37.7 kB / 1.394 GB, free: 12.24 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006032/0.5027, allocations: 0.7551 MB / 1.394 GB, free: 11.48 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/0.5031, allocations: 293.5 kB / 1.395 GB, free: 11.19 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00042/0.5035, allocations: 202.5 kB / 1.395 GB, free: 10.98 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.5036, allocations: 342 kB / 1.395 GB, free: 10.64 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003128/0.5068, allocations: 1.079 MB / 1.396 GB, free: 9.562 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003313/0.5101, allocations: 1.306 MB / 1.397 GB, free: 8.164 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006511/0.5166, allocations: 2.382 MB / 1.4 GB, free: 5.688 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.5166, allocations: 4 kB / 1.4 GB, free: 5.684 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009462/0.5261, allocations: 3.25 MB / 1.403 GB, free: 2.398 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.5261, allocations: 12 kB / 1.403 GB, free: 2.387 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.5261, allocations: 8 kB / 1.403 GB, free: 2.379 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002804/0.5289, allocations: 0.7872 MB / 1.404 GB, free: 1.566 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001972/0.5309, allocations: 419.3 kB / 1.404 GB, free: 1.156 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/0.548, allocations: 15.11 MB / 1.419 GB, free: 1.133 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002383/0.5504, allocations: 283.5 kB / 1.419 GB, free: 0.8555 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001584/0.5506, allocations: 51.95 kB / 1.419 GB, free: 0.8047 MB / 1.107 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.0007809/0.5514, allocations: 406.8 kB / 1.42 GB, free: 408 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.5516, allocations: 151.1 kB / 1.42 GB, free: 256 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009003/0.5606, allocations: 3.171 MB / 1.423 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.5607, allocations: 15.98 kB / 1.423 GB, free: 13.02 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.068e-05/0.5607, allocations: 11.98 kB / 1.423 GB, free: 13.01 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/0.5607, allocations: 7.984 kB / 1.423 GB, free: 13 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.5725, allocations: 4.838 MB / 1.428 GB, free: 8.043 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.5725, allocations: 4 kB / 1.428 GB, free: 8.039 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/0.5742, allocations: 355.3 kB / 1.428 GB, free: 7.691 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002393/0.5766, allocations: 0.7017 MB / 1.429 GB, free: 6.965 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.5768, allocations: 35.89 kB / 1.429 GB, free: 6.93 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/0.5929, allocations: 14.72 MB / 1.443 GB, free: 7.293 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5929, allocations: 0 / 1.443 GB, free: 7.293 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008743/0.6017, allocations: 3.024 MB / 1.446 GB, free: 4.188 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.6027, allocations: 318.8 kB / 1.446 GB, free: 3.875 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/0.603, allocations: 19.94 kB / 1.446 GB, free: 3.855 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/0.605, allocations: 295.4 kB / 1.447 GB, free: 3.566 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003019/0.6053, allocations: 80.59 kB / 1.447 GB, free: 3.488 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/0.6054, allocations: 43.95 kB / 1.447 GB, free: 3.445 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001068/0.6065, allocations: 0.7366 MB / 1.447 GB, free: 2.707 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.6065, allocations: 0 / 1.447 GB, free: 2.707 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001691/0.6082, allocations: 432 kB / 1.448 GB, free: 2.285 MB / 1.139 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.008899/0.6171, allocations: 3.597 MB / 1.451 GB, free: 14.6 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00909/0.6262, allocations: 3.523 MB / 1.455 GB, free: 10.97 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.026e-06/0.6262, allocations: 0 / 1.455 GB, free: 10.97 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005419/0.6316, allocations: 2.32 MB / 1.457 GB, free: 8.543 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/0.6341, allocations: 0.5166 MB / 1.458 GB, free: 8.047 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03713/0.6713, allocations: 15.85 MB / 1.473 GB, free: 7.77 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/0.6724, allocations: 1.388 MB / 1.474 GB, free: 6.352 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001377/0.6738, allocations: 379.9 kB / 1.475 GB, free: 5.977 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008805/0.6747, allocations: 0.5969 MB / 1.475 GB, free: 5.379 MB / 1.17 GB Notification: Performance of SimCode: time 1.032e-06/0.6747, allocations: 0 / 1.475 GB, free: 5.379 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/0.7776, allocations: 42.73 MB / 1.517 GB, free: 11.26 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.52/17.3, allocations: 13.77 kB / 1.517 GB, free: 11.25 MB / 1.217 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 24.36458944599144]