Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00179/0.00179, allocations: 104.3 kB / 16.45 MB, free: 6.453 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.002175/0.002175, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.457/1.457, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.174/3.174, allocations: 0.49 GB / 0.7916 GB, free: 33.49 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_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.003102/0.003102, allocations: 65.25 kB / 1.149 GB, free: 26.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3724, allocations: 176.1 MB / 1.321 GB, free: 3.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009551/0.382, allocations: 6.841 MB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006066/0.388, allocations: 3.114 MB / 1.331 GB, free: 9.492 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006502/0.3887, allocations: 39.62 kB / 1.331 GB, free: 9.453 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002677/0.3914, allocations: 0.9615 MB / 1.332 GB, free: 8.488 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.3928, allocations: 0.5168 MB / 1.332 GB, free: 7.969 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.394, allocations: 430.4 kB / 1.332 GB, free: 7.551 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001576/0.3956, allocations: 1.224 MB / 1.334 GB, free: 6.32 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008881/0.3965, allocations: 0.5337 MB / 1.334 GB, free: 5.781 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008544/0.3973, allocations: 490.3 kB / 1.335 GB, free: 5.301 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008474/0.3982, allocations: 0.5448 MB / 1.335 GB, free: 4.754 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.3983, allocations: 68 kB / 1.335 GB, free: 4.688 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007621/0.399, allocations: 387.2 kB / 1.336 GB, free: 4.309 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.3994, allocations: 315 kB / 1.336 GB, free: 4 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004576/0.3998, allocations: 449.8 kB / 1.336 GB, free: 3.559 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.4014, allocations: 1.226 MB / 1.337 GB, free: 2.328 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.4014, allocations: 0 / 1.337 GB, free: 2.328 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.323e-06/0.4014, allocations: 0 / 1.337 GB, free: 2.328 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.4014, allocations: 0 / 1.337 GB, free: 2.328 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002025/0.4034, allocations: 1.183 MB / 1.339 GB, free: 1.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4034, allocations: 11.98 kB / 1.339 GB, free: 1.078 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001595/0.4036, allocations: 130.6 kB / 1.339 GB, free: 0.9414 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001584/0.4052, allocations: 236.1 kB / 1.339 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.4062, allocations: 0.5964 MB / 1.34 GB, free: 80 kB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.266e-05/0.4062, allocations: 57.66 kB / 1.34 GB, free: 24 kB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.4064, allocations: 60.45 kB / 1.34 GB, free: 15.96 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/0.408, allocations: 1.089 MB / 1.341 GB, free: 14.77 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.408, allocations: 7.984 kB / 1.341 GB, free: 14.76 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.813e-05/0.4081, allocations: 31.98 kB / 1.341 GB, free: 14.73 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001636/0.4082, allocations: 81.27 kB / 1.341 GB, free: 14.65 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.4094, allocations: 0.762 MB / 1.342 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006025/0.4155, allocations: 5.875 MB / 1.347 GB, free: 7.586 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.4165, allocations: 0.5125 MB / 1.348 GB, free: 7.055 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000452/0.4169, allocations: 290 kB / 1.348 GB, free: 6.77 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-05/0.417, allocations: 4.438 kB / 1.348 GB, free: 6.766 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.417, allocations: 39 kB / 1.348 GB, free: 6.719 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.625e-06/0.417, allocations: 0 / 1.348 GB, free: 6.719 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.004231/0.4212, allocations: 1.984 MB / 1.35 GB, free: 4.645 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.4213, allocations: 55.84 kB / 1.35 GB, free: 4.578 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007169/0.422, allocations: 0.5586 MB / 1.351 GB, free: 4.008 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.422, allocations: 41.64 kB / 1.351 GB, free: 3.961 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000344/0.4224, allocations: 424 kB / 1.351 GB, free: 3.539 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.4226, allocations: 182.5 kB / 1.351 GB, free: 3.359 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.4228, allocations: 126.6 kB / 1.351 GB, free: 3.23 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001984/0.423, allocations: 374.7 kB / 1.352 GB, free: 2.855 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/0.4234, allocations: 277.8 kB / 1.352 GB, free: 2.582 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.424, allocations: 497 kB / 1.353 GB, free: 2 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.4254, allocations: 0.8132 MB / 1.353 GB, free: 1.09 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.4254, allocations: 4 kB / 1.353 GB, free: 1.086 MB / 1.045 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002003/0.4274, allocations: 1.076 MB / 1.354 GB, free: 15.99 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.4274, allocations: 12.03 kB / 1.354 GB, free: 15.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.4274, allocations: 8 kB / 1.354 GB, free: 15.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009009/0.4283, allocations: 275.2 kB / 1.355 GB, free: 15.69 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000484/0.4288, allocations: 127.7 kB / 1.355 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007767/0.4366, allocations: 7.134 MB / 1.362 GB, free: 7.867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006123/0.4372, allocations: 39.95 kB / 1.362 GB, free: 7.828 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.417e-05/0.4372, allocations: 32 kB / 1.362 GB, free: 7.797 MB / 1.061 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.0003832/0.4376, allocations: 245.5 kB / 1.362 GB, free: 7.547 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.4377, allocations: 79.53 kB / 1.362 GB, free: 7.469 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001682/0.4394, allocations: 0.8847 MB / 1.363 GB, free: 6.566 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-05/0.4394, allocations: 11.94 kB / 1.363 GB, free: 6.555 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4394, allocations: 4 kB / 1.363 GB, free: 6.551 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.4394, allocations: 3.984 kB / 1.363 GB, free: 6.547 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.4423, allocations: 1.709 MB / 1.365 GB, free: 4.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.4423, allocations: 7.938 kB / 1.365 GB, free: 4.742 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.4426, allocations: 59.89 kB / 1.365 GB, free: 4.684 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007846/0.4433, allocations: 271.3 kB / 1.365 GB, free: 4.406 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.4434, allocations: 8 kB / 1.365 GB, free: 4.398 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0073/0.4507, allocations: 7.123 MB / 1.372 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.4507, allocations: 0 / 1.372 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.4523, allocations: 0.9799 MB / 1.373 GB, free: 11.69 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003005/0.4526, allocations: 192.6 kB / 1.373 GB, free: 11.48 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.796e-05/0.4527, allocations: 19.83 kB / 1.373 GB, free: 11.46 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.4531, allocations: 31.97 kB / 1.373 GB, free: 11.43 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.4532, allocations: 39.94 kB / 1.373 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.4533, allocations: 19.94 kB / 1.373 GB, free: 11.37 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004781/0.4537, allocations: 383.1 kB / 1.374 GB, free: 11 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.4537, allocations: 0 / 1.374 GB, free: 11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008422/0.4546, allocations: 228 kB / 1.374 GB, free: 10.78 MB / 1.076 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.001955/0.4565, allocations: 1.529 MB / 1.375 GB, free: 9.191 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002112/0.4586, allocations: 1.236 MB / 1.377 GB, free: 7.898 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.4586, allocations: 0 / 1.377 GB, free: 7.898 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001343/0.46, allocations: 0.8697 MB / 1.377 GB, free: 6.977 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.461, allocations: 228.8 kB / 1.378 GB, free: 6.762 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009586/0.4706, allocations: 6.352 MB / 1.384 GB, free: 72 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008228/0.4714, allocations: 1.005 MB / 1.385 GB, free: 15.04 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000419/0.4719, allocations: 130 kB / 1.385 GB, free: 14.91 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003476/0.4722, allocations: 251.3 kB / 1.385 GB, free: 14.66 MB / 1.092 GB Notification: Performance of SimCode: time 1.172e-06/0.4722, allocations: 0 / 1.385 GB, free: 14.66 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05994/0.5322, allocations: 17.51 MB / 1.402 GB, free: 13.45 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.5, allocations: 11.86 kB / 1.402 GB, free: 13.44 MB / 1.107 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.168104875134304]