Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001297/0.001297, allocations: 98.08 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.001478/0.001478, allocations: 219.5 kB / 23.04 MB, free: 5.074 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.144/3.144, allocations: 0.5003 GB / 0.8061 GB, free: 26.8 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.001955/0.001955, allocations: 69.64 kB / 1.171 GB, free: 19.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3794, allocations: 179 MB / 1.345 GB, free: 484 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009769/0.3892, allocations: 7.005 MB / 1.352 GB, free: 9.438 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006173/0.3953, allocations: 3.184 MB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000584/0.3959, allocations: 43.56 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002687/0.3986, allocations: 0.9936 MB / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.4001, allocations: 0.5168 MB / 1.357 GB, free: 4.676 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.4013, allocations: 437.3 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001815/0.4031, allocations: 1.217 MB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.4041, allocations: 0.5451 MB / 1.359 GB, free: 2.48 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008519/0.405, allocations: 490.3 kB / 1.359 GB, free: 2 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008273/0.4058, allocations: 0.5448 MB / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.4059, allocations: 68 kB / 1.36 GB, free: 1.387 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000808/0.4067, allocations: 399.2 kB / 1.36 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0003497/0.4071, allocations: 319 kB / 1.361 GB, free: 0.6836 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005032/0.4076, allocations: 453.7 kB / 1.361 GB, free: 244 kB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.4092, allocations: 1.218 MB / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4092, allocations: 0 / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4092, allocations: 0 / 1.362 GB, free: 15.02 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.4092, allocations: 0 / 1.362 GB, free: 15.02 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002161/0.4114, allocations: 1.108 MB / 1.363 GB, free: 13.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4115, allocations: 12.03 kB / 1.363 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.932e-05/0.4115, allocations: 17.5 kB / 1.363 GB, free: 13.84 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001624/0.4116, allocations: 118.7 kB / 1.364 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001565/0.4132, allocations: 244.1 kB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.4142, allocations: 0.5191 MB / 1.364 GB, free: 12.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.51e-05/0.4143, allocations: 49.67 kB / 1.364 GB, free: 12.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.4144, allocations: 64.31 kB / 1.364 GB, free: 12.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.4161, allocations: 1.085 MB / 1.365 GB, free: 11.63 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.4161, allocations: 15.89 kB / 1.365 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.008e-05/0.4162, allocations: 35.97 kB / 1.365 GB, free: 11.58 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000159/0.4163, allocations: 81.27 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.4176, allocations: 0.7543 MB / 1.366 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006273/0.4239, allocations: 5.799 MB / 1.372 GB, free: 4.527 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.4249, allocations: 0.5008 MB / 1.372 GB, free: 4.016 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/0.4253, allocations: 290 kB / 1.373 GB, free: 3.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.789e-05/0.4254, allocations: 12.42 kB / 1.373 GB, free: 3.719 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.4254, allocations: 38.94 kB / 1.373 GB, free: 3.668 MB / 1.061 GB Notification: Performance of pre-optimization done (n=47): time 2.104e-06/0.4254, allocations: 4 kB / 1.373 GB, free: 3.664 MB / 1.061 GB Notification: Performance of matching and sorting (n=48): time 0.004004/0.4294, allocations: 1.682 MB / 1.374 GB, free: 1.965 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/0.4295, allocations: 59.84 kB / 1.374 GB, free: 1.895 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/0.4302, allocations: 0.5509 MB / 1.375 GB, free: 1.336 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.4302, allocations: 37.7 kB / 1.375 GB, free: 1.293 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.4306, allocations: 416.1 kB / 1.375 GB, free: 0.8828 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.4307, allocations: 182.5 kB / 1.376 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.4309, allocations: 130.6 kB / 1.376 GB, free: 0.5703 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.00025/0.4312, allocations: 374.7 kB / 1.376 GB, free: 200 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/0.4317, allocations: 281.8 kB / 1.376 GB, free: 15.92 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/0.4323, allocations: 489 kB / 1.377 GB, free: 15.35 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.4334, allocations: 0.8161 MB / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.4334, allocations: 0 / 1.378 GB, free: 14.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001927/0.4353, allocations: 1.078 MB / 1.379 GB, free: 13.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.4354, allocations: 8 kB / 1.379 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4354, allocations: 4 kB / 1.379 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008752/0.4362, allocations: 287.6 kB / 1.379 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/0.4367, allocations: 127.7 kB / 1.379 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007467/0.4442, allocations: 6.717 MB / 1.386 GB, free: 5.727 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007713/0.445, allocations: 47.94 kB / 1.386 GB, free: 5.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.445, allocations: 28 kB / 1.386 GB, free: 5.652 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.000462/0.4455, allocations: 258.2 kB / 1.386 GB, free: 5.391 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.4456, allocations: 75.53 kB / 1.386 GB, free: 5.316 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/0.4473, allocations: 0.8768 MB / 1.387 GB, free: 4.418 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.4474, allocations: 8 kB / 1.387 GB, free: 4.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4474, allocations: 7.938 kB / 1.387 GB, free: 4.402 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.4474, allocations: 3.984 kB / 1.387 GB, free: 4.398 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/0.4501, allocations: 1.684 MB / 1.389 GB, free: 2.633 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.4501, allocations: 0 / 1.389 GB, free: 2.633 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.4504, allocations: 63.89 kB / 1.389 GB, free: 2.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007816/0.4512, allocations: 275.5 kB / 1.389 GB, free: 2.289 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.4512, allocations: 12 kB / 1.389 GB, free: 2.277 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007224/0.4585, allocations: 6.709 MB / 1.395 GB, free: 11.11 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.4585, allocations: 7.922 kB / 1.395 GB, free: 11.1 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.4602, allocations: 0.9803 MB / 1.396 GB, free: 10.07 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/0.4605, allocations: 115.5 kB / 1.397 GB, free: 9.957 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.4607, allocations: 15.92 kB / 1.397 GB, free: 9.941 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003714/0.461, allocations: 27.97 kB / 1.397 GB, free: 9.914 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.4612, allocations: 43.86 kB / 1.397 GB, free: 9.871 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.4612, allocations: 16 kB / 1.397 GB, free: 9.855 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004956/0.4617, allocations: 387.1 kB / 1.397 GB, free: 9.484 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4617, allocations: 0 / 1.397 GB, free: 9.484 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009048/0.4626, allocations: 228 kB / 1.397 GB, free: 9.262 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002182/0.4648, allocations: 1.532 MB / 1.399 GB, free: 7.672 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002411/0.4672, allocations: 1.24 MB / 1.4 GB, free: 6.379 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.4672, allocations: 3.938 kB / 1.4 GB, free: 6.375 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.4686, allocations: 0.8736 MB / 1.401 GB, free: 5.449 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.4698, allocations: 212.1 kB / 1.401 GB, free: 5.246 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/0.4806, allocations: 6.369 MB / 1.407 GB, free: 14.54 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009244/0.4816, allocations: 1.013 MB / 1.408 GB, free: 13.5 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0004995/0.4821, allocations: 118 kB / 1.408 GB, free: 13.38 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.4825, allocations: 251.3 kB / 1.409 GB, free: 13.14 MB / 1.107 GB Notification: Performance of SimCode: time 1.232e-06/0.4825, allocations: 0 / 1.409 GB, free: 13.14 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06042/0.5429, allocations: 18.08 MB / 1.426 GB, free: 11.36 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.62/13.17, allocations: 20.48 kB / 1.426 GB, free: 11.34 MB / 1.123 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.13441837200662]