Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_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_latest_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.007214/0.007214, allocations: 100.1 kB / 15.73 MB, free: 6.055 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.001729/0.001729, allocations: 190.2 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.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.444/2.444, allocations: 469.4 MB / 0.7422 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.91 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7415/0.7428, allocations: 159.1 MB / 1.22 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008378/0.7512, allocations: 6.743 MB / 1.226 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004866/0.7561, allocations: 3.039 MB / 1.229 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006258/0.7567, allocations: 27.81 kB / 1.229 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002509/0.7593, allocations: 0.9447 MB / 1.23 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.7606, allocations: 0.5207 MB / 1.231 GB, free: 6.965 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.7617, allocations: 430.4 kB / 1.231 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001378/0.7631, allocations: 1.232 MB / 1.232 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009219/0.7641, allocations: 0.6532 MB / 1.233 GB, free: 4.652 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006998/0.7648, allocations: 486.2 kB / 1.233 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007901/0.7656, allocations: 0.5176 MB / 1.234 GB, free: 3.656 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.7657, allocations: 64 kB / 1.234 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006915/0.7664, allocations: 383.2 kB / 1.234 GB, free: 3.219 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003091/0.7668, allocations: 303.2 kB / 1.235 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005077/0.7673, allocations: 449.7 kB / 1.235 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.7686, allocations: 1.219 MB / 1.236 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.7686, allocations: 4 kB / 1.236 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7686, allocations: 0 / 1.236 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.541e-05/0.7687, allocations: 0 / 1.236 GB, free: 1.254 MB / 0.9512 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.002023/0.7707, allocations: 1.187 MB / 1.237 GB, free: 12 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.7708, allocations: 8.625 kB / 1.237 GB, free: 4 kB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.7709, allocations: 122.7 kB / 1.238 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/0.7725, allocations: 240.1 kB / 1.238 GB, free: 15.64 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009871/0.7735, allocations: 0.5887 MB / 1.238 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/0.7735, allocations: 57.67 kB / 1.238 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.7737, allocations: 68.3 kB / 1.239 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.775, allocations: 1.081 MB / 1.24 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.7751, allocations: 3.938 kB / 1.24 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.757e-05/0.7752, allocations: 35.98 kB / 1.24 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/0.7753, allocations: 85.25 kB / 1.24 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.7764, allocations: 0.7504 MB / 1.24 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004849/0.7813, allocations: 5.879 MB / 1.246 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/0.7822, allocations: 0.5618 MB / 1.247 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.7826, allocations: 322 kB / 1.247 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.453e-05/0.7826, allocations: 8.438 kB / 1.247 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.7827, allocations: 39 kB / 1.247 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=47): time 1.533e-06/0.7827, allocations: 0 / 1.247 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48): time 0.003517/0.7862, allocations: 2.007 MB / 1.249 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.7862, allocations: 55.84 kB / 1.249 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005554/0.7868, allocations: 0.5587 MB / 1.25 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.7869, allocations: 37.7 kB / 1.25 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002416/0.7871, allocations: 420.1 kB / 1.25 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.7872, allocations: 182.5 kB / 1.25 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.7874, allocations: 122.6 kB / 1.25 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.7876, allocations: 378.7 kB / 1.251 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.7879, allocations: 273.8 kB / 1.251 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004988/0.7885, allocations: 0.4897 MB / 1.251 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009332/0.7894, allocations: 0.8055 MB / 1.252 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.7894, allocations: 3.938 kB / 1.252 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001682/0.7911, allocations: 1.087 MB / 1.253 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.7911, allocations: 12 kB / 1.253 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.7911, allocations: 8 kB / 1.253 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007981/0.792, allocations: 279.2 kB / 1.254 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004651/0.7924, allocations: 123.8 kB / 1.254 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005887/0.7983, allocations: 7.155 MB / 1.261 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005202/0.7989, allocations: 35.97 kB / 1.261 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.7989, allocations: 28 kB / 1.261 GB, free: 6.637 MB / 0.9825 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.0003063/0.7992, allocations: 249.5 kB / 1.261 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.7994, allocations: 71.58 kB / 1.261 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.8008, allocations: 0.8925 MB / 1.262 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.8008, allocations: 8 kB / 1.262 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.8008, allocations: 0 / 1.262 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.8008, allocations: 7.984 kB / 1.262 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.8034, allocations: 1.728 MB / 1.264 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8034, allocations: 7.938 kB / 1.264 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.8036, allocations: 59.89 kB / 1.264 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007138/0.8044, allocations: 271.3 kB / 1.264 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.256e-05/0.8044, allocations: 8 kB / 1.264 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00586/0.8103, allocations: 7.131 MB / 1.271 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.8103, allocations: 4.031 kB / 1.271 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.8117, allocations: 0.9877 MB / 1.272 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002875/0.812, allocations: 196.6 kB / 1.272 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.509e-05/0.8121, allocations: 11.94 kB / 1.272 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.8124, allocations: 35.95 kB / 1.272 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.253e-05/0.8125, allocations: 35.95 kB / 1.272 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.8126, allocations: 16 kB / 1.272 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003909/0.813, allocations: 383.1 kB / 1.273 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.813, allocations: 0 / 1.273 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007613/0.8138, allocations: 224 kB / 1.273 GB, free: 9.59 MB / 0.9981 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.001649/0.8154, allocations: 1.559 MB / 1.274 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001894/0.8173, allocations: 1.275 MB / 1.276 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.8173, allocations: 0 / 1.276 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.8185, allocations: 0.8932 MB / 1.276 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009731/0.8195, allocations: 217 kB / 1.277 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008115/0.8276, allocations: 6.381 MB / 1.283 GB, free: 14.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006258/0.8282, allocations: 1.005 MB / 1.284 GB, free: 13.74 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003862/0.8286, allocations: 118 kB / 1.284 GB, free: 13.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.829, allocations: 255.3 kB / 1.284 GB, free: 13.37 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/0.829, allocations: 0 / 1.284 GB, free: 13.37 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04482/0.8738, allocations: 17.37 MB / 1.301 GB, free: 12.29 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.976/10.85, allocations: 14.48 kB / 1.301 GB, free: 12.28 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches