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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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,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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007428/0.007428, allocations: 99.89 kB / 15.73 MB, free: 6.062 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.002122/0.002122, allocations: 191 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.464/1.464, 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 11.1.0-maint.11.x/package.mo): time 2.706/2.706, allocations: 469.8 MB / 0.7425 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 63.91 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6846/0.6866, allocations: 159.1 MB / 1.22 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01456/0.7012, allocations: 10.92 MB / 1.231 GB, free: 7.047 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01396/0.7152, allocations: 8.798 MB / 1.239 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.7164, allocations: 55.69 kB / 1.239 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004506/0.7209, allocations: 1.669 MB / 1.241 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00451/0.7254, allocations: 1.537 MB / 1.243 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.7275, allocations: 0.6744 MB / 1.243 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003325/0.7309, allocations: 2.271 MB / 1.245 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.733, allocations: 1.395 MB / 1.247 GB, free: 6.566 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.7347, allocations: 0.9809 MB / 1.248 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.7364, allocations: 1.016 MB / 1.249 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003296/0.7368, allocations: 140 kB / 1.249 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.7384, allocations: 0.7955 MB / 1.25 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006688/0.7391, allocations: 0.5686 MB / 1.25 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.7404, allocations: 0.8861 MB / 1.251 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003487/0.7439, allocations: 2.572 MB / 1.254 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.7439, allocations: 4 kB / 1.254 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.586e-06/0.7439, allocations: 0 / 1.254 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.088e-05/0.744, allocations: 7.922 kB / 1.254 GB, free: 15.57 MB / 0.9825 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.003904/0.7479, allocations: 2.074 MB / 1.256 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.7479, allocations: 11.97 kB / 1.256 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002462/0.7482, allocations: 186.1 kB / 1.256 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.7601, allocations: 2.063 MB / 1.258 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.7625, allocations: 1.221 MB / 1.259 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.858e-05/0.7626, allocations: 86.69 kB / 1.259 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/0.7628, allocations: 115.9 kB / 1.259 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005933/0.7687, allocations: 2.486 MB / 1.262 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.284e-05/0.7688, allocations: 7.938 kB / 1.262 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.769, allocations: 52 kB / 1.262 GB, free: 7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003677/0.7694, allocations: 126.1 kB / 1.262 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008036/0.7774, allocations: 2.537 MB / 1.264 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01426/0.7917, allocations: 10.04 MB / 1.274 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006897/0.7986, allocations: 1.957 MB / 1.276 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003042/0.8017, allocations: 0.9699 MB / 1.277 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.191e-05/0.8017, allocations: 8.438 kB / 1.277 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.8018, allocations: 39 kB / 1.277 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=53): time 2.345e-06/0.8018, allocations: 0 / 1.277 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of matching and sorting (n=81): time 0.03373/0.8355, allocations: 8.744 MB / 1.286 GB, free: 13.81 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.8356, allocations: 64 kB / 1.286 GB, free: 13.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/0.8372, allocations: 1.093 MB / 1.287 GB, free: 12.62 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.8374, allocations: 41.7 kB / 1.287 GB, free: 12.58 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006315/0.838, allocations: 0.7551 MB / 1.287 GB, free: 11.82 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003162/0.8383, allocations: 293.5 kB / 1.288 GB, free: 11.53 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004231/0.8388, allocations: 202.5 kB / 1.288 GB, free: 11.32 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001578/0.8389, allocations: 345.9 kB / 1.288 GB, free: 10.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003285/0.8422, allocations: 1.071 MB / 1.289 GB, free: 9.906 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003441/0.8457, allocations: 1.309 MB / 1.291 GB, free: 8.504 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006737/0.8524, allocations: 2.382 MB / 1.293 GB, free: 6.027 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.8524, allocations: 0 / 1.293 GB, free: 6.027 MB / 1.014 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009597/0.862, allocations: 3.281 MB / 1.296 GB, free: 2.711 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.8621, allocations: 8 kB / 1.296 GB, free: 2.703 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.8621, allocations: 4 kB / 1.296 GB, free: 2.699 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002888/0.865, allocations: 0.7877 MB / 1.297 GB, free: 1.887 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.867, allocations: 423.2 kB / 1.297 GB, free: 1.473 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01771/0.8848, allocations: 15.93 MB / 1.313 GB, free: 432 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002312/0.8871, allocations: 295.6 kB / 1.313 GB, free: 136 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.8873, allocations: 51.97 kB / 1.313 GB, free: 84 kB / 1.029 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.0007328/0.888, allocations: 398 kB / 1.314 GB, free: 15.68 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002677/0.8883, allocations: 151.1 kB / 1.314 GB, free: 15.54 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009598/0.8979, allocations: 3.206 MB / 1.317 GB, free: 12.29 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.8979, allocations: 8 kB / 1.317 GB, free: 12.28 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.8979, allocations: 8 kB / 1.317 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.898, allocations: 7.922 kB / 1.317 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/0.9103, allocations: 4.909 MB / 1.322 GB, free: 7.227 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.9103, allocations: 4 kB / 1.322 GB, free: 7.223 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001815/0.9121, allocations: 351.7 kB / 1.322 GB, free: 6.879 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002534/0.9147, allocations: 0.6974 MB / 1.323 GB, free: 6.156 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.9148, allocations: 35.95 kB / 1.323 GB, free: 6.121 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/0.9319, allocations: 15.54 MB / 1.338 GB, free: 5.453 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.9319, allocations: 7.938 kB / 1.338 GB, free: 5.445 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008952/0.9408, allocations: 3.04 MB / 1.341 GB, free: 2.324 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00069/0.9416, allocations: 392 kB / 1.341 GB, free: 1.922 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.9418, allocations: 20 kB / 1.341 GB, free: 1.902 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/0.9438, allocations: 295.4 kB / 1.342 GB, free: 1.613 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/0.944, allocations: 72.5 kB / 1.342 GB, free: 1.543 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.9441, allocations: 43.95 kB / 1.342 GB, free: 1.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001048/0.9452, allocations: 0.7405 MB / 1.342 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9452, allocations: 0 / 1.342 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001383/0.9466, allocations: 428 kB / 1.343 GB, free: 348 kB / 1.061 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.009282/0.9559, allocations: 3.628 MB / 1.346 GB, free: 12.62 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.009252/0.9652, allocations: 3.636 MB / 1.35 GB, free: 8.879 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.9652, allocations: 0 / 1.35 GB, free: 8.879 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.005446/0.9706, allocations: 2.375 MB / 1.352 GB, free: 6.398 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/0.9729, allocations: 0.523 MB / 1.353 GB, free: 5.898 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03612/1.009, allocations: 15.88 MB / 1.368 GB, free: 5.59 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/1.01, allocations: 1.388 MB / 1.37 GB, free: 4.168 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001378/1.012, allocations: 375.9 kB / 1.37 GB, free: 3.797 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009059/1.013, allocations: 0.5969 MB / 1.371 GB, free: 3.199 MB / 1.092 GB Notification: Performance of SimCode: time 6.11e-07/1.013, allocations: 0 / 1.371 GB, free: 3.199 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09889/1.111, allocations: 41.52 MB / 1.411 GB, free: 10.25 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/15.24, allocations: 3.984 kB / 1.411 GB, free: 10.25 MB / 1.139 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches