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.001722/0.001722, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.00217/0.00217, allocations: 210.4 kB / 19.43 MB, free: 3.656 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 / 252.8 MB, free: 8.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.178/3.178, allocations: 0.49 GB / 0.7916 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_12_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.002926/0.002926, allocations: 72.89 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3532, allocations: 176.1 MB / 1.321 GB, free: 3.332 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01439/0.3676, allocations: 11.07 MB / 1.332 GB, free: 8.219 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0148/0.3824, allocations: 8.935 MB / 1.34 GB, free: 15.26 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.3836, allocations: 79.31 kB / 1.34 GB, free: 15.18 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004272/0.3878, allocations: 1.695 MB / 1.342 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004154/0.392, allocations: 1.566 MB / 1.344 GB, free: 11.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.3937, allocations: 0.6743 MB / 1.344 GB, free: 11.23 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002871/0.3966, allocations: 2.278 MB / 1.346 GB, free: 8.945 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001523/0.3981, allocations: 1.087 MB / 1.348 GB, free: 7.82 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.3997, allocations: 1.035 MB / 1.349 GB, free: 6.781 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.4011, allocations: 1.078 MB / 1.35 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0002096/0.4014, allocations: 140 kB / 1.35 GB, free: 5.562 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.4028, allocations: 0.8149 MB / 1.351 GB, free: 4.746 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005584/0.4034, allocations: 0.5762 MB / 1.351 GB, free: 4.168 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0009064/0.4043, allocations: 0.8861 MB / 1.352 GB, free: 3.277 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.003093/0.4074, allocations: 2.58 MB / 1.354 GB, free: 0.6875 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4074, allocations: 7.938 kB / 1.354 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4074, allocations: 0 / 1.354 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.319e-05/0.4074, allocations: 0 / 1.354 GB, free: 0.6797 MB / 1.045 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.003517/0.4109, allocations: 2.066 MB / 1.357 GB, free: 14.55 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.411, allocations: 15.98 kB / 1.357 GB, free: 14.54 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002427/0.4112, allocations: 194.1 kB / 1.357 GB, free: 14.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/0.4229, allocations: 2.051 MB / 1.359 GB, free: 12.28 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/0.4255, allocations: 1.221 MB / 1.36 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.897e-05/0.4256, allocations: 90.7 kB / 1.36 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002625/0.4258, allocations: 115.9 kB / 1.36 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005735/0.4316, allocations: 2.478 MB / 1.363 GB, free: 8.172 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/0.4316, allocations: 15.89 kB / 1.363 GB, free: 8.156 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001579/0.4318, allocations: 51.94 kB / 1.363 GB, free: 8.105 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003678/0.4321, allocations: 130.1 kB / 1.363 GB, free: 7.977 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007659/0.4398, allocations: 2.545 MB / 1.365 GB, free: 5.422 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01408/0.4539, allocations: 10.02 MB / 1.375 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006657/0.4605, allocations: 1.923 MB / 1.377 GB, free: 8.789 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0029/0.4634, allocations: 0.9464 MB / 1.378 GB, free: 7.84 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.4635, allocations: 4.438 kB / 1.378 GB, free: 7.836 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.4635, allocations: 39 kB / 1.378 GB, free: 7.789 MB / 1.076 GB Notification: Performance of pre-optimization done (n=53): time 2.235e-06/0.4635, allocations: 0 / 1.378 GB, free: 7.789 MB / 1.076 GB Notification: Performance of matching and sorting (n=81): time 0.03253/0.496, allocations: 8.729 MB / 1.386 GB, free: 15 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.4961, allocations: 64 kB / 1.386 GB, free: 14.93 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.4977, allocations: 1.101 MB / 1.387 GB, free: 13.81 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.4979, allocations: 41.64 kB / 1.388 GB, free: 13.76 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005584/0.4984, allocations: 0.7511 MB / 1.388 GB, free: 13.01 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002906/0.4987, allocations: 297.5 kB / 1.389 GB, free: 12.71 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004144/0.4991, allocations: 206.5 kB / 1.389 GB, free: 12.5 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4993, allocations: 341.9 kB / 1.389 GB, free: 12.16 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003084/0.5024, allocations: 1.075 MB / 1.39 GB, free: 11.09 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003303/0.5057, allocations: 1.301 MB / 1.391 GB, free: 9.695 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006354/0.512, allocations: 2.382 MB / 1.394 GB, free: 7.215 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.512, allocations: 4 kB / 1.394 GB, free: 7.211 MB / 1.092 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009431/0.5215, allocations: 3.254 MB / 1.397 GB, free: 3.926 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.5215, allocations: 8 kB / 1.397 GB, free: 3.918 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.5215, allocations: 11.98 kB / 1.397 GB, free: 3.906 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002865/0.5244, allocations: 0.7797 MB / 1.398 GB, free: 3.102 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/0.5264, allocations: 419.2 kB / 1.398 GB, free: 2.691 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0177/0.5441, allocations: 15.93 MB / 1.414 GB, free: 1.633 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/0.5466, allocations: 287.6 kB / 1.414 GB, free: 1.352 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.5468, allocations: 51.95 kB / 1.414 GB, free: 1.301 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.0007833/0.5476, allocations: 403.3 kB / 1.414 GB, free: 0.9023 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/0.5479, allocations: 151.2 kB / 1.414 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009295/0.5572, allocations: 3.183 MB / 1.418 GB, free: 13.53 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.5572, allocations: 11.98 kB / 1.418 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.5572, allocations: 11.98 kB / 1.418 GB, free: 13.51 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.5572, allocations: 3.984 kB / 1.418 GB, free: 13.5 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/0.569, allocations: 4.87 MB / 1.422 GB, free: 8.508 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.569, allocations: 4 kB / 1.422 GB, free: 8.504 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/0.5707, allocations: 351.7 kB / 1.423 GB, free: 8.16 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002455/0.5732, allocations: 0.6935 MB / 1.423 GB, free: 7.441 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.5733, allocations: 31.97 kB / 1.423 GB, free: 7.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01668/0.59, allocations: 15.54 MB / 1.439 GB, free: 6.746 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.59, allocations: 12 kB / 1.439 GB, free: 6.734 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008775/0.5988, allocations: 3.017 MB / 1.442 GB, free: 3.637 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008099/0.5996, allocations: 388 kB / 1.442 GB, free: 3.238 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/0.5998, allocations: 16 kB / 1.442 GB, free: 3.223 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/0.6017, allocations: 299.4 kB / 1.442 GB, free: 2.93 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/0.602, allocations: 80.62 kB / 1.442 GB, free: 2.852 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.6021, allocations: 39.97 kB / 1.442 GB, free: 2.812 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001035/0.6031, allocations: 0.7327 MB / 1.443 GB, free: 2.078 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.6031, allocations: 4 kB / 1.443 GB, free: 2.074 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001546/0.6047, allocations: 436 kB / 1.443 GB, free: 1.648 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.00892/0.6136, allocations: 3.601 MB / 1.447 GB, free: 13.95 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.009145/0.6228, allocations: 3.515 MB / 1.45 GB, free: 10.34 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.6228, allocations: 4.062 kB / 1.45 GB, free: 10.34 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.005355/0.6281, allocations: 2.324 MB / 1.453 GB, free: 7.906 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.6305, allocations: 0.523 MB / 1.453 GB, free: 7.402 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03654/0.667, allocations: 15.81 MB / 1.469 GB, free: 7.164 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/0.6681, allocations: 1.384 MB / 1.47 GB, free: 5.746 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001288/0.6694, allocations: 375.9 kB / 1.47 GB, free: 5.375 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008781/0.6703, allocations: 0.6008 MB / 1.471 GB, free: 4.773 MB / 1.17 GB Notification: Performance of SimCode: time 8.82e-07/0.6703, allocations: 0 / 1.471 GB, free: 4.773 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/0.7707, allocations: 41.77 MB / 1.512 GB, free: 11.59 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.26, allocations: 6.344 kB / 1.512 GB, free: 11.59 MB / 1.217 GB " [Timeout remaining time 285] (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: 21.938170947134495]