Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_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_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 195.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.432/2.432, allocations: 437.1 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 55.91 kB / 0.8694 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5874/0.5889, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008307/0.5972, allocations: 6.722 MB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004578/0.6018, allocations: 3.051 MB / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004804/0.6023, allocations: 23.88 kB / 1.027 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002262/0.6046, allocations: 0.9528 MB / 1.028 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.6057, allocations: 0.5012 MB / 1.028 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009149/0.6066, allocations: 423.1 kB / 1.029 GB, free: 6.809 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.6076, allocations: 1.228 MB / 1.03 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000781/0.6084, allocations: 0.6606 MB / 1.031 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004515/0.6089, allocations: 470.3 kB / 1.031 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005649/0.6095, allocations: 0.5215 MB / 1.032 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.75e-05/0.6096, allocations: 68 kB / 1.032 GB, free: 3.863 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005768/0.6101, allocations: 371.3 kB / 1.032 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.6104, allocations: 307.1 kB / 1.032 GB, free: 3.199 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003952/0.6108, allocations: 453.7 kB / 1.033 GB, free: 2.754 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.6119, allocations: 1.195 MB / 1.034 GB, free: 1.555 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.6119, allocations: 8 kB / 1.034 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6119, allocations: 3.938 kB / 1.034 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.6119, allocations: 0 / 1.034 GB, free: 1.543 MB / 0.7794 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.001691/0.6136, allocations: 1.153 MB / 1.035 GB, free: 348 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.6136, allocations: 8.031 kB / 1.035 GB, free: 340 kB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.6138, allocations: 122.6 kB / 1.035 GB, free: 208 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.6153, allocations: 239.7 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007105/0.616, allocations: 0.5453 MB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.6161, allocations: 53.67 kB / 1.036 GB, free: 15.32 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.465e-05/0.6162, allocations: 64.36 kB / 1.036 GB, free: 15.26 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.6175, allocations: 1.089 MB / 1.037 GB, free: 14.06 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.6175, allocations: 4 kB / 1.037 GB, free: 14.05 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-05/0.6176, allocations: 27.98 kB / 1.037 GB, free: 14.03 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.6178, allocations: 85.25 kB / 1.037 GB, free: 13.95 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.6189, allocations: 0.7581 MB / 1.038 GB, free: 13.19 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004989/0.6239, allocations: 5.893 MB / 1.044 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009255/0.6249, allocations: 0.5516 MB / 1.044 GB, free: 6.301 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004198/0.6253, allocations: 326 kB / 1.045 GB, free: 5.98 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.6253, allocations: 8.375 kB / 1.045 GB, free: 5.973 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.6254, allocations: 39 kB / 1.045 GB, free: 5.926 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 2.023e-06/0.6254, allocations: 0 / 1.045 GB, free: 5.926 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.003607/0.629, allocations: 1.982 MB / 1.047 GB, free: 3.848 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.629, allocations: 59.84 kB / 1.047 GB, free: 3.777 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/0.6296, allocations: 0.5585 MB / 1.047 GB, free: 3.211 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.6296, allocations: 37.7 kB / 1.047 GB, free: 3.168 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.6299, allocations: 414.9 kB / 1.048 GB, free: 2.758 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.63, allocations: 173.6 kB / 1.048 GB, free: 2.586 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.6302, allocations: 126.5 kB / 1.048 GB, free: 2.457 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6303, allocations: 374.7 kB / 1.048 GB, free: 2.082 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.6307, allocations: 273.9 kB / 1.049 GB, free: 1.812 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005256/0.6312, allocations: 0.4892 MB / 1.049 GB, free: 1.23 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009471/0.6322, allocations: 0.8093 MB / 1.05 GB, free: 336 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.6322, allocations: 4 kB / 1.05 GB, free: 332 kB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001709/0.6339, allocations: 1.079 MB / 1.051 GB, free: 15.22 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.634, allocations: 8 kB / 1.051 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.634, allocations: 8.094 kB / 1.051 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008108/0.6348, allocations: 275.2 kB / 1.051 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004843/0.6353, allocations: 127.7 kB / 1.051 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006283/0.6416, allocations: 7.153 MB / 1.058 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.6421, allocations: 35.97 kB / 1.058 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/0.6422, allocations: 32 kB / 1.058 GB, free: 7.02 MB / 0.8106 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.0003003/0.6425, allocations: 249.5 kB / 1.059 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.6426, allocations: 67.31 kB / 1.059 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.6441, allocations: 0.8923 MB / 1.059 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.6441, allocations: 4 kB / 1.059 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.6442, allocations: 4 kB / 1.059 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6442, allocations: 3.984 kB / 1.059 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.6467, allocations: 1.728 MB / 1.061 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.6467, allocations: 3.938 kB / 1.061 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002764/0.647, allocations: 63.89 kB / 1.061 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007132/0.6477, allocations: 263.6 kB / 1.061 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.6477, allocations: 12 kB / 1.061 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006401/0.6541, allocations: 7.139 MB / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6541, allocations: 0 / 1.068 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/0.6556, allocations: 0.9757 MB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.6558, allocations: 196.2 kB / 1.07 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.988e-05/0.6559, allocations: 11.94 kB / 1.07 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003734/0.6563, allocations: 35.95 kB / 1.07 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.6564, allocations: 35.95 kB / 1.07 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.6565, allocations: 19.94 kB / 1.07 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003985/0.6569, allocations: 387 kB / 1.07 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6569, allocations: 0 / 1.07 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000715/0.6576, allocations: 228 kB / 1.07 GB, free: 9.977 MB / 0.8262 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.001756/0.6594, allocations: 1.544 MB / 1.072 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00198/0.6614, allocations: 1.322 MB / 1.073 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.6614, allocations: 4 kB / 1.073 GB, free: 7 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.6626, allocations: 0.8854 MB / 1.074 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.6636, allocations: 227.9 kB / 1.074 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008044/0.6717, allocations: 6.52 MB / 1.081 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.6722, allocations: 1.005 MB / 1.082 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0004051/0.6727, allocations: 122 kB / 1.082 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.673, allocations: 247.4 kB / 1.082 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.673, allocations: 0 / 1.082 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04666/0.7196, allocations: 17.13 MB / 1.099 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/11.13, allocations: 6.75 kB / 1.099 GB, free: 12.71 MB / 0.8575 GB (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches