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.0007838/0.0007838, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008182/0.0008182, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8334/0.8334, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.636/1.636, allocations: 377.8 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.981 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.895e-05, allocations: 2.281 kB / 0.981 GB, free: 1.441 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.007949/0.007968, allocations: 10.18 MB / 0.9909 GB, free: 7.211 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.007655/0.01562, allocations: 8.389 MB / 0.9991 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007604/0.01638, allocations: 91.19 kB / 0.9992 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.01833, allocations: 1.672 MB / 1.001 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.002587/0.02092, allocations: 1.609 MB / 1.002 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.0222, allocations: 0.69 MB / 1.003 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.002052/0.02426, allocations: 2.36 MB / 1.005 GB, free: 8.359 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.02536, allocations: 1.141 MB / 1.006 GB, free: 7.188 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.0268, allocations: 1.535 MB / 1.008 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007651/0.02756, allocations: 0.8179 MB / 1.009 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.02768, allocations: 136 kB / 1.009 GB, free: 4.695 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009135/0.02859, allocations: 0.752 MB / 1.01 GB, free: 3.941 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0004489/0.02904, allocations: 0.5958 MB / 1.01 GB, free: 3.34 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003941/0.02944, allocations: 0.5884 MB / 1.011 GB, free: 2.75 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.03111, allocations: 2.59 MB / 1.013 GB, free: 156 kB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.03112, allocations: 4 kB / 1.013 GB, free: 152 kB / 0.9167 GB Notification: Performance of FrontEnd: time 1.422e-06/0.03112, allocations: 0 / 1.013 GB, free: 152 kB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.03113, allocations: 0 / 1.013 GB, free: 152 kB / 0.9167 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.001892/0.03303, allocations: 1.968 MB / 1.015 GB, free: 14.14 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.03306, allocations: 11.97 kB / 1.015 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/0.03322, allocations: 194.1 kB / 1.015 GB, free: 13.93 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005406/0.03862, allocations: 2.059 MB / 1.017 GB, free: 11.86 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/0.03987, allocations: 1.125 MB / 1.019 GB, free: 10.69 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/0.03991, allocations: 82.7 kB / 1.019 GB, free: 10.61 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/0.04006, allocations: 120.3 kB / 1.019 GB, free: 10.49 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003045/0.0431, allocations: 2.705 MB / 1.021 GB, free: 7.586 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.04313, allocations: 7.922 kB / 1.021 GB, free: 7.578 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.941e-05/0.04323, allocations: 52 kB / 1.021 GB, free: 7.527 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001859/0.04342, allocations: 126.1 kB / 1.022 GB, free: 7.402 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003915/0.04733, allocations: 2.541 MB / 1.024 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3675/0.4149, allocations: 7.661 MB / 1.032 GB, free: 53.02 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003583/0.4184, allocations: 1.852 MB / 1.033 GB, free: 52.91 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.42, allocations: 0.9486 MB / 1.034 GB, free: 52.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/0.4201, allocations: 10.12 kB / 1.034 GB, free: 52.69 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.4201, allocations: 39.42 kB / 1.034 GB, free: 52.65 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=53): time 3.136e-06/0.4201, allocations: 2.031 kB / 1.034 GB, free: 52.65 MB / 0.9323 GB Notification: Performance of matching and sorting (n=81): time 0.01771/0.4378, allocations: 9.117 MB / 1.043 GB, free: 51.02 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.4379, allocations: 60.89 kB / 1.043 GB, free: 50.96 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.4389, allocations: 1.109 MB / 1.044 GB, free: 50.52 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.28e-05/0.4389, allocations: 45.61 kB / 1.044 GB, free: 50.47 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.4392, allocations: 0.7519 MB / 1.045 GB, free: 49.95 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.4394, allocations: 287.3 kB / 1.045 GB, free: 49.76 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.4396, allocations: 199.2 kB / 1.046 GB, free: 49.68 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 4.692e-05/0.4397, allocations: 343.5 kB / 1.046 GB, free: 49.36 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/0.4413, allocations: 1.085 MB / 1.047 GB, free: 49.07 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/0.4431, allocations: 1.314 MB / 1.048 GB, free: 48.52 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003324/0.4464, allocations: 2.403 MB / 1.051 GB, free: 47.59 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4464, allocations: 1.375 kB / 1.051 GB, free: 47.59 MB / 0.9323 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005113/0.4515, allocations: 3.291 MB / 1.054 GB, free: 46.53 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.4516, allocations: 12.12 kB / 1.054 GB, free: 46.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4516, allocations: 6.953 kB / 1.054 GB, free: 46.53 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001698/0.4533, allocations: 0.8521 MB / 1.055 GB, free: 46.28 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.4543, allocations: 419.3 kB / 1.055 GB, free: 46.26 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008139/0.4624, allocations: 15.19 MB / 1.07 GB, free: 33.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.4637, allocations: 299 kB / 1.07 GB, free: 33.93 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.927e-05/0.4637, allocations: 51.75 kB / 1.07 GB, free: 33.93 MB / 0.9323 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.0005419/0.4643, allocations: 391.7 kB / 1.071 GB, free: 33.68 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.4644, allocations: 151.7 kB / 1.071 GB, free: 33.61 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004896/0.4693, allocations: 3.217 MB / 1.074 GB, free: 32.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4693, allocations: 9.516 kB / 1.074 GB, free: 32.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.4694, allocations: 10 kB / 1.074 GB, free: 32.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.4694, allocations: 10.31 kB / 1.074 GB, free: 32.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006293/0.4757, allocations: 4.68 MB / 1.079 GB, free: 30.91 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4757, allocations: 2.281 kB / 1.079 GB, free: 30.91 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000771/0.4764, allocations: 354.7 kB / 1.079 GB, free: 30.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.4778, allocations: 0.7679 MB / 1.08 GB, free: 30.52 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.435e-05/0.4778, allocations: 34.86 kB / 1.08 GB, free: 30.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006996/0.4848, allocations: 14.81 MB / 1.094 GB, free: 17.39 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4848, allocations: 2.938 kB / 1.094 GB, free: 17.39 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004214/0.489, allocations: 3.059 MB / 1.097 GB, free: 15.62 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00044/0.4895, allocations: 318 kB / 1.097 GB, free: 15.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.4896, allocations: 19.59 kB / 1.097 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009171/0.4905, allocations: 288.8 kB / 1.098 GB, free: 15.26 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001863/0.4907, allocations: 85.62 kB / 1.098 GB, free: 15.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.837e-05/0.4907, allocations: 42.39 kB / 1.098 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0006907/0.4914, allocations: 0.7436 MB / 1.099 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6e-08/0.4914, allocations: 0 / 1.099 GB, free: 14.77 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001182/0.4926, allocations: 441.2 kB / 1.099 GB, free: 14.73 MB / 0.9323 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.004348/0.497, allocations: 3.632 MB / 1.103 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004445/0.5014, allocations: 3.543 MB / 1.106 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.5014, allocations: 1.281 kB / 1.106 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002337/0.5037, allocations: 2.345 MB / 1.108 GB, free: 8.473 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.5051, allocations: 0.5136 MB / 1.109 GB, free: 8.215 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01867/0.5237, allocations: 16.26 MB / 1.125 GB, free: 10.01 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/0.5244, allocations: 0.802 MB / 1.125 GB, free: 9.172 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009113/0.5253, allocations: 379.9 kB / 1.126 GB, free: 8.797 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005607/0.5258, allocations: 0.5979 MB / 1.126 GB, free: 8.199 MB / 0.948 GB Notification: Performance of SimCode: time 9.52e-07/0.5258, allocations: 0 / 1.126 GB, free: 8.199 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06418/0.59, allocations: 46.14 MB / 1.171 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.788/8.378, allocations: 4 kB / 1.171 GB, free: 10.97 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 12.144382759928703]