Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-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_R,fileNamePrefix="Buildings_11_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_11_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.001645/0.001645, allocations: 112.5 kB / 15.73 MB, free: 76 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.001663/0.001664, allocations: 192.9 kB / 16.67 MB, free: 6.57 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.836/2.836, allocations: 469.8 MB / 0.7425 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.89 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2712, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.008767/0.28, allocations: 6.741 MB / 1.227 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005014/0.285, allocations: 3.047 MB / 1.23 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003153/0.2854, allocations: 27.81 kB / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002478/0.2878, allocations: 0.9412 MB / 1.231 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00103/0.2889, allocations: 0.4972 MB / 1.231 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009662/0.2899, allocations: 439 kB / 1.232 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001345/0.2912, allocations: 1.217 MB / 1.233 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009673/0.2922, allocations: 0.6661 MB / 1.233 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006017/0.2928, allocations: 478.2 kB / 1.234 GB, free: 180 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007183/0.2935, allocations: 0.5176 MB / 1.234 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.2937, allocations: 68 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007009/0.2944, allocations: 375.3 kB / 1.235 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003166/0.2947, allocations: 311.1 kB / 1.235 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000488/0.2952, allocations: 449.8 kB / 1.236 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.2966, allocations: 1.214 MB / 1.237 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2966, allocations: 0 / 1.237 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2966, allocations: 4 kB / 1.237 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.441e-05/0.2966, allocations: 3.984 kB / 1.237 GB, free: 13.25 MB / 0.9981 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.001951/0.2986, allocations: 1.187 MB / 1.238 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2986, allocations: 8.031 kB / 1.238 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001433/0.2988, allocations: 118.6 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/0.3004, allocations: 244.1 kB / 1.238 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009268/0.3013, allocations: 0.5927 MB / 1.239 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.3014, allocations: 45.67 kB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.3015, allocations: 68.31 kB / 1.239 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.3031, allocations: 1.093 MB / 1.24 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.3031, allocations: 4 kB / 1.24 GB, free: 9.695 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/0.3032, allocations: 27.98 kB / 1.24 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001599/0.3034, allocations: 85.25 kB / 1.24 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.3046, allocations: 0.7581 MB / 1.241 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005637/0.3102, allocations: 5.879 MB / 1.247 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.3113, allocations: 0.5593 MB / 1.247 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000489/0.3118, allocations: 326 kB / 1.247 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.944e-05/0.3119, allocations: 4.438 kB / 1.247 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.3119, allocations: 42.98 kB / 1.247 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=47): time 2.324e-06/0.3119, allocations: 0 / 1.247 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48): time 0.4761/0.788, allocations: 1.985 MB / 1.249 GB, free: 29.61 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.7881, allocations: 58.94 kB / 1.249 GB, free: 29.55 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006307/0.7887, allocations: 0.561 MB / 1.25 GB, free: 29.42 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.7888, allocations: 34.23 kB / 1.25 GB, free: 29.39 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.789, allocations: 423.8 kB / 1.25 GB, free: 29.27 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.7891, allocations: 177.5 kB / 1.251 GB, free: 29.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/0.7893, allocations: 127 kB / 1.251 GB, free: 29.16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.7894, allocations: 376.3 kB / 1.251 GB, free: 28.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004055/0.7898, allocations: 274.2 kB / 1.251 GB, free: 28.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004721/0.7903, allocations: 497.1 kB / 1.252 GB, free: 28.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008961/0.7912, allocations: 0.8128 MB / 1.253 GB, free: 28.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.7912, allocations: 3.281 kB / 1.253 GB, free: 28.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001779/0.793, allocations: 1.086 MB / 1.254 GB, free: 28.17 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.793, allocations: 8.062 kB / 1.254 GB, free: 28.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.793, allocations: 6.719 kB / 1.254 GB, free: 28.17 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008437/0.7939, allocations: 282.8 kB / 1.254 GB, free: 28.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.7944, allocations: 127.9 kB / 1.254 GB, free: 28.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004802/0.7992, allocations: 7.144 MB / 1.261 GB, free: 22.67 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005417/0.7997, allocations: 39.53 kB / 1.261 GB, free: 22.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.7998, allocations: 28.97 kB / 1.261 GB, free: 22.67 MB / 0.9981 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.000259/0.8001, allocations: 257.9 kB / 1.261 GB, free: 22.54 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.076e-05/0.8002, allocations: 71.92 kB / 1.261 GB, free: 22.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.8015, allocations: 0.8867 MB / 1.262 GB, free: 22.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.8016, allocations: 10.94 kB / 1.262 GB, free: 22.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8016, allocations: 2.5 kB / 1.262 GB, free: 22.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.8016, allocations: 2.25 kB / 1.262 GB, free: 22.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.8038, allocations: 1.726 MB / 1.264 GB, free: 21.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.8038, allocations: 6.812 kB / 1.264 GB, free: 21.97 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000259/0.8041, allocations: 59.19 kB / 1.264 GB, free: 21.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007217/0.8048, allocations: 266.9 kB / 1.264 GB, free: 21.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/0.8049, allocations: 12.77 kB / 1.264 GB, free: 21.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004727/0.8096, allocations: 7.137 MB / 1.271 GB, free: 16.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8096, allocations: 2.625 kB / 1.271 GB, free: 16.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.8111, allocations: 0.9819 MB / 1.272 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002405/0.8114, allocations: 202.3 kB / 1.272 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.494e-05/0.8115, allocations: 9.156 kB / 1.272 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.8119, allocations: 36.47 kB / 1.273 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.812, allocations: 46.41 kB / 1.273 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.812, allocations: 14.94 kB / 1.273 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004371/0.8125, allocations: 381.4 kB / 1.273 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8125, allocations: 1.031 kB / 1.273 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008223/0.8133, allocations: 224.4 kB / 1.273 GB, free: 15.42 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.001566/0.8149, allocations: 1.55 MB / 1.275 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001789/0.8167, allocations: 1.265 MB / 1.276 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.8167, allocations: 5.156 kB / 1.276 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/0.8178, allocations: 0.8973 MB / 1.277 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.8189, allocations: 223.1 kB / 1.277 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007781/0.8266, allocations: 6.373 MB / 1.283 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000471/0.8271, allocations: 1.011 MB / 1.284 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0004023/0.8276, allocations: 121.2 kB / 1.284 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.8278, allocations: 249.2 kB / 1.285 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.8278, allocations: 1.031 kB / 1.285 GB, free: 8.324 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0555/0.8833, allocations: 17.37 MB / 1.302 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/11.48, allocations: 24.38 kB / 1.302 GB, free: 6.922 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_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_R.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches