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.000823/0.000823, 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.0008385/0.0008385, 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.8405/0.8405, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.595/1.595, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.133e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.008077/0.008098, allocations: 10.19 MB / 0.9605 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.007704/0.0158, allocations: 8.374 MB / 0.9686 GB, free: 0.8516 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005779/0.01638, allocations: 91.25 kB / 0.9687 GB, free: 0.7617 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.001908/0.01829, allocations: 1.681 MB / 0.9704 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.02054, allocations: 1.611 MB / 0.9719 GB, free: 13.46 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009087/0.02144, allocations: 0.6884 MB / 0.9726 GB, free: 12.77 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001659/0.0231, allocations: 2.356 MB / 0.9749 GB, free: 10.4 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.02421, allocations: 1.149 MB / 0.976 GB, free: 9.219 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.0256, allocations: 1.535 MB / 0.9775 GB, free: 7.68 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008457/0.02644, allocations: 0.8257 MB / 0.9783 GB, free: 6.852 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.02664, allocations: 136 kB / 0.9785 GB, free: 6.719 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009671/0.02761, allocations: 0.7482 MB / 0.9792 GB, free: 5.969 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003521/0.02796, allocations: 0.5997 MB / 0.9798 GB, free: 5.367 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.0284, allocations: 0.5883 MB / 0.9804 GB, free: 4.777 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.0301, allocations: 2.593 MB / 0.9829 GB, free: 2.176 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.0301, allocations: 0 / 0.9829 GB, free: 2.176 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.502e-06/0.0301, allocations: 0 / 0.9829 GB, free: 2.176 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.03012, allocations: 0 / 0.9829 GB, free: 2.176 MB / 0.9323 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.001797/0.03191, allocations: 1.96 MB / 0.9848 GB, free: 180 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.03195, allocations: 8.031 kB / 0.9848 GB, free: 172 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.0321, allocations: 190.1 kB / 0.985 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00518/0.03729, allocations: 2.067 MB / 0.987 GB, free: 13.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001213/0.0385, allocations: 1.113 MB / 0.9881 GB, free: 12.74 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.549e-05/0.03854, allocations: 86.69 kB / 0.9882 GB, free: 12.65 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001477/0.03869, allocations: 116.3 kB / 0.9883 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.04165, allocations: 2.709 MB / 0.9909 GB, free: 9.633 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.04168, allocations: 12 kB / 0.9909 GB, free: 9.621 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/0.04178, allocations: 51.92 kB / 0.991 GB, free: 9.57 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001784/0.04195, allocations: 126.1 kB / 0.9911 GB, free: 9.445 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003706/0.04566, allocations: 2.553 MB / 0.9936 GB, free: 6.883 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006437/0.0521, allocations: 7.67 MB / 1.001 GB, free: 15.04 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/0.05516, allocations: 1.853 MB / 1.003 GB, free: 13.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.05657, allocations: 0.9505 MB / 1.004 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.0566, allocations: 4.5 kB / 1.004 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.05662, allocations: 43 kB / 1.004 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=53): time 1.633e-06/0.05662, allocations: 0 / 1.004 GB, free: 12.17 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81): time 0.01564/0.07226, allocations: 9.113 MB / 1.013 GB, free: 3.012 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.0723, allocations: 64.06 kB / 1.013 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008993/0.0732, allocations: 1.112 MB / 1.014 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.571e-05/0.07327, allocations: 37.7 kB / 1.014 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.07364, allocations: 0.7551 MB / 1.015 GB, free: 1.004 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.07382, allocations: 293.5 kB / 1.015 GB, free: 0.7148 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002417/0.07406, allocations: 206.4 kB / 1.015 GB, free: 0.5078 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.46e-05/0.07414, allocations: 345.9 kB / 1.016 GB, free: 168 kB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/0.07599, allocations: 1.083 MB / 1.017 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.07764, allocations: 1.313 MB / 1.018 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003152/0.08079, allocations: 2.405 MB / 1.02 GB, free: 11.17 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.0808, allocations: 4 kB / 1.02 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004779/0.08557, allocations: 3.281 MB / 1.023 GB, free: 7.848 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.08559, allocations: 11.94 kB / 1.023 GB, free: 7.836 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.0856, allocations: 8 kB / 1.023 GB, free: 7.828 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.08708, allocations: 0.8537 MB / 1.024 GB, free: 6.949 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008652/0.08795, allocations: 407.3 kB / 1.025 GB, free: 6.551 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009908/0.09786, allocations: 15.19 MB / 1.039 GB, free: 6.441 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.09886, allocations: 299.6 kB / 1.04 GB, free: 6.148 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.27e-05/0.09894, allocations: 55.95 kB / 1.04 GB, free: 6.094 MB / 0.9948 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.0005054/0.09944, allocations: 390.3 kB / 1.04 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.09959, allocations: 155 kB / 1.04 GB, free: 5.551 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/0.1041, allocations: 3.214 MB / 1.043 GB, free: 2.301 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1041, allocations: 11.94 kB / 1.043 GB, free: 2.289 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1041, allocations: 8 kB / 1.043 GB, free: 2.281 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1042, allocations: 7.922 kB / 1.044 GB, free: 2.273 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3814/0.4856, allocations: 4.674 MB / 1.048 GB, free: 128.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4856, allocations: 2.719 kB / 1.048 GB, free: 128.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000726/0.4863, allocations: 352.3 kB / 1.048 GB, free: 128.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001275/0.4876, allocations: 0.7661 MB / 1.049 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.4876, allocations: 35.3 kB / 1.049 GB, free: 128.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006326/0.494, allocations: 14.81 MB / 1.064 GB, free: 117.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.494, allocations: 2.906 kB / 1.064 GB, free: 117.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003794/0.4978, allocations: 3.056 MB / 1.067 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000384/0.4982, allocations: 315.4 kB / 1.067 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.4983, allocations: 25.47 kB / 1.067 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008306/0.4991, allocations: 297.8 kB / 1.067 GB, free: 116 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.4992, allocations: 80.53 kB / 1.067 GB, free: 116 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.081e-05/0.4993, allocations: 36.77 kB / 1.067 GB, free: 116 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005463/0.4998, allocations: 0.7373 MB / 1.068 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.4998, allocations: 2.844 kB / 1.068 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0008543/0.5007, allocations: 444.1 kB / 1.069 GB, free: 115.7 MB / 0.9948 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.003895/0.5045, allocations: 3.64 MB / 1.072 GB, free: 114.1 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003783/0.5083, allocations: 3.542 MB / 1.076 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5083, allocations: 0 / 1.076 GB, free: 112.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001986/0.5103, allocations: 2.323 MB / 1.078 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.5114, allocations: 0.5376 MB / 1.078 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01936/0.5307, allocations: 16.26 MB / 1.094 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/0.5315, allocations: 0.8118 MB / 1.095 GB, free: 104.4 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0008227/0.5323, allocations: 377.6 kB / 1.095 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000531/0.5328, allocations: 0.5986 MB / 1.096 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of SimCode: time 9.42e-07/0.5328, allocations: 0 / 1.096 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0591/0.5919, allocations: 46.13 MB / 1.141 GB, free: 87.53 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.597/8.189, allocations: 3.938 kB / 1.141 GB, free: 87.53 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 11.981250489130616]