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.001875/0.001875, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002449/0.002449, allocations: 216 kB / 22.25 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 8.008 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 2.999/2.999, allocations: 0.49 GB / 0.7951 GB, free: 33.38 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_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.002026/0.002026, allocations: 63.25 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3629, allocations: 176.1 MB / 1.326 GB, free: 1.91 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01072/0.3736, allocations: 7.008 MB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.006949/0.3805, allocations: 3.196 MB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008188/0.3813, allocations: 35.69 kB / 1.336 GB, free: 7.637 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00285/0.3842, allocations: 0.9937 MB / 1.337 GB, free: 6.641 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001529/0.3857, allocations: 0.5246 MB / 1.337 GB, free: 6.113 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.3871, allocations: 430.5 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001853/0.3889, allocations: 1.225 MB / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001064/0.39, allocations: 0.5454 MB / 1.34 GB, free: 3.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009755/0.391, allocations: 486.3 kB / 1.34 GB, free: 3.434 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.392, allocations: 0.5487 MB / 1.341 GB, free: 2.883 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.3923, allocations: 68 kB / 1.341 GB, free: 2.816 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009838/0.3933, allocations: 387.2 kB / 1.341 GB, free: 2.438 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004654/0.3937, allocations: 315.1 kB / 1.341 GB, free: 2.129 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0007753/0.3945, allocations: 445.7 kB / 1.342 GB, free: 1.691 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.3967, allocations: 1.226 MB / 1.343 GB, free: 472 kB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.3967, allocations: 4 kB / 1.343 GB, free: 468 kB / 1.029 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3967, allocations: 0 / 1.343 GB, free: 468 kB / 1.029 GB Notification: Performance of Transformations before backend: time 6.378e-05/0.3968, allocations: 4 kB / 1.343 GB, free: 464 kB / 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.002577/0.3994, allocations: 1.108 MB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3994, allocations: 8.031 kB / 1.344 GB, free: 15.3 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.3996, allocations: 126.7 kB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/0.4011, allocations: 236.1 kB / 1.344 GB, free: 14.93 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.4021, allocations: 0.523 MB / 1.345 GB, free: 14.39 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.4021, allocations: 49.67 kB / 1.345 GB, free: 14.34 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.4023, allocations: 60.38 kB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.4038, allocations: 1.085 MB / 1.346 GB, free: 13.09 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/0.4038, allocations: 7.938 kB / 1.346 GB, free: 13.08 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.98e-05/0.4039, allocations: 35.98 kB / 1.346 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/0.404, allocations: 77.27 kB / 1.346 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.4052, allocations: 0.7504 MB / 1.347 GB, free: 12.22 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005876/0.4111, allocations: 5.815 MB / 1.353 GB, free: 5.992 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.4121, allocations: 0.5065 MB / 1.353 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004282/0.4125, allocations: 286 kB / 1.353 GB, free: 5.191 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-05/0.4126, allocations: 4.438 kB / 1.353 GB, free: 5.188 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.4126, allocations: 39 kB / 1.353 GB, free: 5.141 MB / 1.045 GB Notification: Performance of pre-optimization done (n=47): time 2.274e-06/0.4126, allocations: 0 / 1.353 GB, free: 5.141 MB / 1.045 GB Notification: Performance of matching and sorting (n=48): time 0.003942/0.4165, allocations: 1.694 MB / 1.355 GB, free: 3.43 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.4166, allocations: 55.84 kB / 1.355 GB, free: 3.363 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007158/0.4173, allocations: 0.5548 MB / 1.356 GB, free: 2.797 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.4174, allocations: 37.7 kB / 1.356 GB, free: 2.754 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003383/0.4177, allocations: 420.1 kB / 1.356 GB, free: 2.336 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001676/0.4179, allocations: 178.5 kB / 1.356 GB, free: 2.16 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.4181, allocations: 134.6 kB / 1.356 GB, free: 2.023 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.4183, allocations: 378.7 kB / 1.357 GB, free: 1.645 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.4187, allocations: 265.9 kB / 1.357 GB, free: 1.387 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.4193, allocations: 0.4896 MB / 1.357 GB, free: 0.7969 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.4204, allocations: 0.8123 MB / 1.358 GB, free: 15.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.4204, allocations: 4 kB / 1.358 GB, free: 15.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001968/0.4224, allocations: 1.074 MB / 1.359 GB, free: 14.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.4224, allocations: 8.875 kB / 1.359 GB, free: 14.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.4224, allocations: 8 kB / 1.359 GB, free: 14.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008738/0.4233, allocations: 287.2 kB / 1.36 GB, free: 14.48 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004855/0.4238, allocations: 127.8 kB / 1.36 GB, free: 14.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007329/0.4311, allocations: 6.721 MB / 1.366 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005958/0.4317, allocations: 39.95 kB / 1.366 GB, free: 7.125 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/0.4318, allocations: 32.06 kB / 1.366 GB, free: 7.094 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.000428/0.4322, allocations: 253.5 kB / 1.367 GB, free: 6.836 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001874/0.4324, allocations: 75.53 kB / 1.367 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.4341, allocations: 0.8768 MB / 1.367 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.4341, allocations: 7.828 kB / 1.367 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.4341, allocations: 7.938 kB / 1.367 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.4341, allocations: 3.984 kB / 1.367 GB, free: 5.852 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.437, allocations: 1.681 MB / 1.369 GB, free: 4.09 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.437, allocations: 7.938 kB / 1.369 GB, free: 4.082 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.4373, allocations: 60.08 kB / 1.369 GB, free: 4.023 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007531/0.4381, allocations: 267.2 kB / 1.369 GB, free: 3.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/0.4381, allocations: 15.98 kB / 1.369 GB, free: 3.734 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007038/0.4451, allocations: 6.709 MB / 1.376 GB, free: 12.56 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.4451, allocations: 12.08 kB / 1.376 GB, free: 12.55 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.4468, allocations: 0.9763 MB / 1.377 GB, free: 11.53 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.4472, allocations: 119.6 kB / 1.377 GB, free: 11.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.4473, allocations: 11.94 kB / 1.377 GB, free: 11.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.4477, allocations: 31.95 kB / 1.377 GB, free: 11.37 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.4478, allocations: 47.92 kB / 1.377 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.4478, allocations: 8.141 kB / 1.377 GB, free: 11.32 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004994/0.4483, allocations: 387.1 kB / 1.378 GB, free: 10.94 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4483, allocations: 0 / 1.378 GB, free: 10.94 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008354/0.4492, allocations: 227.9 kB / 1.378 GB, free: 10.72 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.001974/0.4511, allocations: 1.548 MB / 1.379 GB, free: 9.113 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002217/0.4534, allocations: 1.236 MB / 1.38 GB, free: 7.832 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4534, allocations: 0 / 1.38 GB, free: 7.832 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001307/0.4547, allocations: 0.8698 MB / 1.381 GB, free: 6.91 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.4558, allocations: 220.6 kB / 1.382 GB, free: 6.703 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.466, allocations: 6.365 MB / 1.388 GB, free: 4 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008197/0.4668, allocations: 1.005 MB / 1.389 GB, free: 14.97 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004238/0.4672, allocations: 118 kB / 1.389 GB, free: 14.86 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003663/0.4676, allocations: 255.3 kB / 1.389 GB, free: 14.61 MB / 1.092 GB Notification: Performance of SimCode: time 9.52e-07/0.4676, allocations: 3.938 kB / 1.389 GB, free: 14.6 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06674/0.5343, allocations: 18.05 MB / 1.407 GB, free: 12.86 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.75, allocations: 3.781 kB / 1.407 GB, free: 12.86 MB / 1.107 GB " [Timeout remaining time 285] (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: 22.467368427896872]