Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.007791/0.007791, allocations: 98.64 kB / 15.73 MB, free: 6.047 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.002055/0.002055, allocations: 194.3 kB / 16.68 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.833/2.833, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 64.08 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3084, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008109/0.3165, allocations: 6.095 MB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005113/0.3217, allocations: 3.149 MB / 1.229 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004134/0.3221, allocations: 27.81 kB / 1.229 GB, free: 5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002402/0.3246, allocations: 0.922 MB / 1.23 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001163/0.3257, allocations: 477.6 kB / 1.231 GB, free: 3.605 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001139/0.3269, allocations: 486.5 kB / 1.231 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0012/0.3281, allocations: 1.1 MB / 1.232 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008754/0.329, allocations: 0.6389 MB / 1.233 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005549/0.3295, allocations: 430.4 kB / 1.233 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005805/0.3301, allocations: 470.2 kB / 1.234 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.361e-05/0.3302, allocations: 60 kB / 1.234 GB, free: 456 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000865/0.3311, allocations: 495.1 kB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002778/0.3314, allocations: 291.2 kB / 1.234 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003812/0.3318, allocations: 394 kB / 1.235 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001322/0.3331, allocations: 1.183 MB / 1.236 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3331, allocations: 0 / 1.236 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3331, allocations: 3.938 kB / 1.236 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.3332, allocations: 0 / 1.236 GB, free: 14.1 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001552/0.3347, allocations: 1.074 MB / 1.237 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3348, allocations: 8.031 kB / 1.237 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.3349, allocations: 118.6 kB / 1.237 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001443/0.3363, allocations: 228.1 kB / 1.237 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008532/0.3372, allocations: 0.5809 MB / 1.238 GB, free: 12 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.3373, allocations: 53.67 kB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.3374, allocations: 56.38 kB / 1.238 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.3388, allocations: 1.037 MB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.3388, allocations: 7.953 kB / 1.239 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.3389, allocations: 35.97 kB / 1.239 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.908e-05/0.339, allocations: 69.27 kB / 1.239 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.34, allocations: 0.6996 MB / 1.24 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004969/0.345, allocations: 5.73 MB / 1.245 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008459/0.3459, allocations: 0.6074 MB / 1.246 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008008/0.3467, allocations: 428.5 kB / 1.246 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.3467, allocations: 4 kB / 1.246 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.3468, allocations: 38.56 kB / 1.246 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=41): time 1.973e-06/0.3468, allocations: 0 / 1.246 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42): time 0.004257/0.351, allocations: 2.023 MB / 1.248 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.3511, allocations: 55.41 kB / 1.248 GB, free: 480 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004747/0.3516, allocations: 454.8 kB / 1.249 GB, free: 16 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.5615/0.9131, allocations: 29.89 kB / 1.249 GB, free: 30.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/0.9134, allocations: 393.9 kB / 1.249 GB, free: 30.12 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.9136, allocations: 159.3 kB / 1.249 GB, free: 30.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/0.9138, allocations: 113.5 kB / 1.25 GB, free: 30.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.9138, allocations: 362.7 kB / 1.25 GB, free: 29.71 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.9143, allocations: 244.7 kB / 1.25 GB, free: 29.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/0.9147, allocations: 451.8 kB / 1.251 GB, free: 29.46 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008139/0.9155, allocations: 0.7515 MB / 1.251 GB, free: 29.21 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.9155, allocations: 2.562 kB / 1.251 GB, free: 29.21 MB / 0.9981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001838/0.9174, allocations: 1.042 MB / 1.252 GB, free: 29.06 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.9174, allocations: 10.47 kB / 1.252 GB, free: 29.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.9174, allocations: 6.562 kB / 1.252 GB, free: 29.06 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009834/0.9184, allocations: 323.3 kB / 1.253 GB, free: 29.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/0.9188, allocations: 100.8 kB / 1.253 GB, free: 29.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005515/0.9243, allocations: 7.479 MB / 1.26 GB, free: 23.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004288/0.9247, allocations: 28.14 kB / 1.26 GB, free: 23.56 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.9248, allocations: 28.59 kB / 1.26 GB, free: 23.56 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002761/0.9251, allocations: 238 kB / 1.26 GB, free: 23.44 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.603e-05/0.9252, allocations: 69.17 kB / 1.26 GB, free: 23.41 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.9265, allocations: 0.8968 MB / 1.261 GB, free: 23.29 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.9266, allocations: 5.375 kB / 1.261 GB, free: 23.29 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.9266, allocations: 9.734 kB / 1.261 GB, free: 23.29 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.9266, allocations: 0 / 1.261 GB, free: 23.29 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002173/0.9288, allocations: 1.672 MB / 1.263 GB, free: 22.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.9288, allocations: 3.562 kB / 1.263 GB, free: 22.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.9289, allocations: 38.52 kB / 1.263 GB, free: 22.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008546/0.9298, allocations: 309.9 kB / 1.263 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.9298, allocations: 11.62 kB / 1.263 GB, free: 22.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005136/0.935, allocations: 7.47 MB / 1.271 GB, free: 17.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.935, allocations: 13.59 kB / 1.271 GB, free: 17.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001461/0.9365, allocations: 0.9875 MB / 1.272 GB, free: 16.53 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/0.9367, allocations: 179 kB / 1.272 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.301e-05/0.9368, allocations: 12.41 kB / 1.272 GB, free: 16.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.9371, allocations: 19.69 kB / 1.272 GB, free: 16.37 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.9372, allocations: 43.25 kB / 1.272 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.822e-05/0.9372, allocations: 10.31 kB / 1.272 GB, free: 16.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003442/0.9376, allocations: 310.8 kB / 1.272 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9376, allocations: 0 / 1.272 GB, free: 16.21 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008376/0.9384, allocations: 193.3 kB / 1.272 GB, free: 16.19 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.001769/0.9402, allocations: 1.544 MB / 1.274 GB, free: 15.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.9419, allocations: 1.194 MB / 1.275 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.942, allocations: 1.125 kB / 1.275 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.943, allocations: 0.8657 MB / 1.276 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009682/0.944, allocations: 202.7 kB / 1.276 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008028/0.952, allocations: 5.861 MB / 1.282 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/0.9526, allocations: 0.9892 MB / 1.283 GB, free: 9.562 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003295/0.9529, allocations: 96.94 kB / 1.283 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.9531, allocations: 224 kB / 1.283 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of SimCode: time 9.41e-07/0.9532, allocations: 1.156 kB / 1.283 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05583/1.009, allocations: 15.27 MB / 1.298 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.7, allocations: 18.69 kB / 1.298 GB, free: 8.117 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches