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.001831/0.001831, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.00216/0.00216, allocations: 217.8 kB / 23.03 MB, free: 4.945 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.657/2.657, allocations: 476.8 MB / 0.7715 GB, free: 3.91 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_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.002018/0.002018, allocations: 67.36 kB / 1.118 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3007, allocations: 170 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01432/0.315, allocations: 10.33 MB / 1.294 GB, free: 336 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01445/0.3294, allocations: 8.476 MB / 1.302 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.3309, allocations: 79.31 kB / 1.303 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004792/0.3357, allocations: 1.671 MB / 1.304 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004845/0.3406, allocations: 1.562 MB / 1.306 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.3426, allocations: 0.6801 MB / 1.306 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003502/0.3462, allocations: 2.29 MB / 1.309 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002269/0.3484, allocations: 1.162 MB / 1.31 GB, free: 340 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002154/0.3506, allocations: 1.02 MB / 1.311 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002313/0.3529, allocations: 1.074 MB / 1.312 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0004709/0.3534, allocations: 136 kB / 1.312 GB, free: 14.09 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00214/0.3555, allocations: 0.7484 MB / 1.313 GB, free: 13.35 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009744/0.3565, allocations: 0.5841 MB / 1.313 GB, free: 12.76 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0015/0.358, allocations: 0.7193 MB / 1.314 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003614/0.3616, allocations: 2.592 MB / 1.316 GB, free: 9.438 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3616, allocations: 0 / 1.316 GB, free: 9.438 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3616, allocations: 0 / 1.316 GB, free: 9.438 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.549e-05/0.3616, allocations: 0 / 1.316 GB, free: 9.438 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.003502/0.3651, allocations: 2.003 MB / 1.318 GB, free: 7.395 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.3652, allocations: 12.03 kB / 1.318 GB, free: 7.383 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.369e-05/0.3652, allocations: 34.5 kB / 1.318 GB, free: 7.348 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002375/0.3655, allocations: 190.1 kB / 1.319 GB, free: 7.152 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/0.3763, allocations: 2.059 MB / 1.321 GB, free: 5.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002769/0.3791, allocations: 1.137 MB / 1.322 GB, free: 3.902 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.3792, allocations: 98.38 kB / 1.322 GB, free: 3.805 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002818/0.3795, allocations: 116 kB / 1.322 GB, free: 3.691 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005946/0.3854, allocations: 2.88 MB / 1.325 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.083e-05/0.3855, allocations: 7.984 kB / 1.325 GB, free: 0.5547 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.3856, allocations: 55.92 kB / 1.325 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000382/0.386, allocations: 126.1 kB / 1.325 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007202/0.3932, allocations: 2.537 MB / 1.327 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.4066, allocations: 7.644 MB / 1.335 GB, free: 6.004 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006059/0.4127, allocations: 1.846 MB / 1.337 GB, free: 4.148 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/0.4154, allocations: 0.9425 MB / 1.338 GB, free: 3.203 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.778e-05/0.4155, allocations: 16.38 kB / 1.338 GB, free: 3.188 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.4155, allocations: 39 kB / 1.338 GB, free: 3.141 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 3.366e-06/0.4155, allocations: 0 / 1.338 GB, free: 3.141 MB / 1.029 GB Notification: Performance of matching and sorting (n=81): time 0.0322/0.4477, allocations: 8.634 MB / 1.346 GB, free: 10.46 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.692e-05/0.4478, allocations: 64 kB / 1.346 GB, free: 10.39 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001815/0.4496, allocations: 1.101 MB / 1.347 GB, free: 9.27 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.4498, allocations: 41.64 kB / 1.347 GB, free: 9.223 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007042/0.4505, allocations: 0.7473 MB / 1.348 GB, free: 8.469 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003964/0.4509, allocations: 297.5 kB / 1.348 GB, free: 8.176 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005044/0.4514, allocations: 202.5 kB / 1.348 GB, free: 7.969 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.4516, allocations: 341.9 kB / 1.349 GB, free: 7.629 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00299/0.4546, allocations: 1.075 MB / 1.35 GB, free: 6.555 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003148/0.4577, allocations: 1.301 MB / 1.351 GB, free: 5.16 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006228/0.4639, allocations: 2.382 MB / 1.353 GB, free: 2.684 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/0.464, allocations: 4 kB / 1.353 GB, free: 2.68 MB / 1.045 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009175/0.4731, allocations: 3.254 MB / 1.357 GB, free: 15.39 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.4732, allocations: 8 kB / 1.357 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.4732, allocations: 8 kB / 1.357 GB, free: 15.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/0.4762, allocations: 0.7876 MB / 1.357 GB, free: 14.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.4782, allocations: 419.2 kB / 1.358 GB, free: 14.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01837/0.4965, allocations: 14.98 MB / 1.372 GB, free: 14.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/0.4988, allocations: 291.5 kB / 1.373 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002368/0.4991, allocations: 51.97 kB / 1.373 GB, free: 13.91 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.0009316/0.5, allocations: 401.5 kB / 1.373 GB, free: 13.51 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004103/0.5004, allocations: 147.1 kB / 1.373 GB, free: 13.36 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009087/0.5095, allocations: 3.183 MB / 1.376 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.5095, allocations: 8 kB / 1.376 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.368e-05/0.5095, allocations: 4 kB / 1.376 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.5095, allocations: 7.984 kB / 1.376 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01188/0.5214, allocations: 4.62 MB / 1.381 GB, free: 5.387 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.5214, allocations: 0 / 1.381 GB, free: 5.387 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001627/0.5231, allocations: 359.7 kB / 1.381 GB, free: 5.035 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002588/0.5256, allocations: 0.6977 MB / 1.382 GB, free: 4.312 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.5258, allocations: 31.97 kB / 1.382 GB, free: 4.281 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0166/0.5424, allocations: 14.61 MB / 1.396 GB, free: 4.75 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5424, allocations: 4 kB / 1.396 GB, free: 4.746 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008471/0.5508, allocations: 3.028 MB / 1.399 GB, free: 1.637 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008638/0.5517, allocations: 315 kB / 1.4 GB, free: 1.328 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/0.552, allocations: 27.92 kB / 1.4 GB, free: 1.301 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/0.554, allocations: 291.5 kB / 1.4 GB, free: 1.016 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003172/0.5543, allocations: 84.44 kB / 1.4 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.5544, allocations: 35.97 kB / 1.4 GB, free: 0.8984 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001303/0.5557, allocations: 0.7444 MB / 1.401 GB, free: 156 kB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5557, allocations: 0 / 1.401 GB, free: 156 kB / 1.092 GB Notification: Performance of remove unused functions: time 0.001815/0.5575, allocations: 428 kB / 1.401 GB, free: 15.73 MB / 1.107 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.008497/0.566, allocations: 3.593 MB / 1.405 GB, free: 12.05 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.008663/0.5747, allocations: 3.519 MB / 1.408 GB, free: 8.438 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.5747, allocations: 0 / 1.408 GB, free: 8.438 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005258/0.58, allocations: 2.324 MB / 1.41 GB, free: 6.008 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002657/0.5826, allocations: 0.5175 MB / 1.411 GB, free: 5.512 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03771/0.6203, allocations: 15.84 MB / 1.426 GB, free: 5.234 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/0.6218, allocations: 0.8098 MB / 1.427 GB, free: 4.383 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001674/0.6235, allocations: 379.8 kB / 1.427 GB, free: 4.008 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.6246, allocations: 0.6047 MB / 1.428 GB, free: 3.402 MB / 1.123 GB Notification: Performance of SimCode: time 1.593e-06/0.6246, allocations: 0 / 1.428 GB, free: 3.402 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1091/0.7336, allocations: 45.46 MB / 1.472 GB, free: 6.93 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.61/17.34, allocations: 18.19 kB / 1.472 GB, free: 6.918 MB / 1.17 GB " [Timeout remaining time 282] (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: 24.104169993079267]