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.004874/0.004874, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.001401, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.27/2.27, allocations: 437.1 MB / 0.7106 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 63.91 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.591/0.5927, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007813/0.6005, allocations: 6.736 MB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004407/0.6049, allocations: 3.04 MB / 1.176 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003621/0.6053, allocations: 31.81 kB / 1.176 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002176/0.6075, allocations: 0.9384 MB / 1.177 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009936/0.6085, allocations: 0.505 MB / 1.177 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008995/0.6094, allocations: 425.7 kB / 1.178 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001261/0.6107, allocations: 1.228 MB / 1.179 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000853/0.6115, allocations: 0.6609 MB / 1.179 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005652/0.6121, allocations: 478.2 kB / 1.18 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006615/0.6128, allocations: 0.5215 MB / 1.18 GB, free: 5.137 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.6129, allocations: 64 kB / 1.18 GB, free: 5.074 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006219/0.6135, allocations: 387.2 kB / 1.181 GB, free: 4.695 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002814/0.6138, allocations: 303.2 kB / 1.181 GB, free: 4.398 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004252/0.6143, allocations: 445.7 kB / 1.182 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.6155, allocations: 1.219 MB / 1.183 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6155, allocations: 0 / 1.183 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6155, allocations: 0 / 1.183 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.6155, allocations: 0 / 1.183 GB, free: 2.738 MB / 0.9044 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.001761/0.6173, allocations: 1.191 MB / 1.184 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.6173, allocations: 8.922 kB / 1.184 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.6175, allocations: 122.7 kB / 1.184 GB, free: 1.355 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.6189, allocations: 244.1 kB / 1.184 GB, free: 1.117 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008058/0.6197, allocations: 0.5887 MB / 1.185 GB, free: 496 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.6197, allocations: 49.67 kB / 1.185 GB, free: 448 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.973e-05/0.6198, allocations: 60.38 kB / 1.185 GB, free: 388 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.6212, allocations: 1.093 MB / 1.186 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.758e-05/0.6212, allocations: 11.89 kB / 1.186 GB, free: 15.16 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.508e-05/0.6213, allocations: 39.98 kB / 1.186 GB, free: 15.12 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/0.6215, allocations: 85.25 kB / 1.186 GB, free: 15.04 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.6225, allocations: 0.7465 MB / 1.187 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004864/0.6274, allocations: 5.879 MB / 1.193 GB, free: 7.992 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000895/0.6283, allocations: 0.5516 MB / 1.193 GB, free: 7.43 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004132/0.6287, allocations: 323.4 kB / 1.193 GB, free: 7.113 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.6288, allocations: 8.438 kB / 1.193 GB, free: 7.105 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.6288, allocations: 39 kB / 1.193 GB, free: 7.059 MB / 0.92 GB Notification: Performance of pre-optimization done (n=47): time 1.393e-06/0.6288, allocations: 3.938 kB / 1.193 GB, free: 7.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=48): time 0.003473/0.6323, allocations: 1.995 MB / 1.195 GB, free: 4.965 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.6323, allocations: 59.84 kB / 1.195 GB, free: 4.895 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/0.6329, allocations: 0.5548 MB / 1.196 GB, free: 4.332 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.6329, allocations: 37.7 kB / 1.196 GB, free: 4.289 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.6332, allocations: 424 kB / 1.196 GB, free: 3.867 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001318/0.6334, allocations: 182.5 kB / 1.197 GB, free: 3.688 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.6335, allocations: 122.6 kB / 1.197 GB, free: 3.559 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.6337, allocations: 378.7 kB / 1.197 GB, free: 3.18 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.6341, allocations: 273.8 kB / 1.197 GB, free: 2.914 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/0.6346, allocations: 0.4892 MB / 1.198 GB, free: 2.332 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009844/0.6356, allocations: 0.8093 MB / 1.199 GB, free: 1.426 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6356, allocations: 3.938 kB / 1.199 GB, free: 1.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001654/0.6373, allocations: 1.087 MB / 1.2 GB, free: 328 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.6373, allocations: 8 kB / 1.2 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.6373, allocations: 8 kB / 1.2 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007523/0.6381, allocations: 283.5 kB / 1.2 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.6385, allocations: 127.8 kB / 1.2 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006256/0.6448, allocations: 7.142 MB / 1.207 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.6452, allocations: 36.16 kB / 1.207 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/0.6453, allocations: 28 kB / 1.207 GB, free: 8.117 MB / 0.9356 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.000266/0.6456, allocations: 258.1 kB / 1.207 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.6457, allocations: 79.58 kB / 1.207 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00146/0.6471, allocations: 0.8847 MB / 1.208 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.6472, allocations: 8 kB / 1.208 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.6472, allocations: 8 kB / 1.208 GB, free: 6.863 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.6472, allocations: 3.984 kB / 1.208 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002338/0.6495, allocations: 1.732 MB / 1.21 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.6495, allocations: 3.938 kB / 1.21 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.6498, allocations: 59.89 kB / 1.21 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006797/0.6505, allocations: 271.3 kB / 1.21 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.6505, allocations: 8 kB / 1.21 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006183/0.6567, allocations: 7.124 MB / 1.217 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.6567, allocations: 7.969 kB / 1.217 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/0.6581, allocations: 0.9839 MB / 1.218 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002207/0.6583, allocations: 192.7 kB / 1.219 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.558e-05/0.6584, allocations: 15.94 kB / 1.219 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.6587, allocations: 36.12 kB / 1.219 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.6588, allocations: 39.89 kB / 1.219 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.6589, allocations: 20 kB / 1.219 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003909/0.6593, allocations: 383.1 kB / 1.219 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6593, allocations: 4 kB / 1.219 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005987/0.6599, allocations: 220 kB / 1.219 GB, free: 11.06 MB / 0.9512 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.001678/0.6616, allocations: 1.548 MB / 1.221 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001755/0.6633, allocations: 1.283 MB / 1.222 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.6633, allocations: 0 / 1.222 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.6645, allocations: 0.8968 MB / 1.223 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008649/0.6654, allocations: 217.3 kB / 1.223 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007609/0.673, allocations: 6.367 MB / 1.229 GB, free: 264 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.6736, allocations: 1.009 MB / 1.23 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003045/0.6739, allocations: 126 kB / 1.23 GB, free: 15.1 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002954/0.6742, allocations: 251.3 kB / 1.231 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.6742, allocations: 0 / 1.231 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.72/8.394, allocations: 17.38 MB / 1.248 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.84/33.23, allocations: 7.797 kB / 1.248 GB, free: 13.72 MB / 0.9825 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=400 --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